Class BaseController
java.lang.Object
org.ehrbase.rest.ehrscape.controller.BaseController
- Direct Known Subclasses:
CompositionController,EhrController,QueryController,TemplateController
This base controller implements the basic functionality for all specific controllers. This
includes error handling and utils.
- Author:
- Stefan Spiska, Jake Smolka
-
Field Details
-
EHR
- See Also:
-
TEMPLATE
- See Also:
-
API_ECIS_CONTEXT_PATH_WITH_VERSION
- See Also:
-
COMPOSITION
- See Also:
-
-
Constructor Details
-
BaseController
public BaseController()
-
-
Method Details
-
add2MetaMap
-
getContextPath
-
createLocationUri
Returns a URI for list of segments. The segments are appended to the base path and encoded to ensure safe usage in a URI.- Parameters:
pathSegments- List of segments to append to the base URL- Returns:
- URI for the given base URL and segments
-