public interface IRestfulServerDefaults
| Modifier and Type | Method and Description |
|---|---|
AddProfileTagEnum |
getAddProfileTag()
Deprecated.
As of HAPI FHIR 1.5, this property has been moved to
FhirContext.setAddProfileTagWhenEncoding(AddProfileTagEnum) |
EncodingEnum |
getDefaultResponseEncoding() |
ETagSupportEnum |
getETagSupport() |
FhirContext |
getFhirContext()
Gets the
FhirContext associated with this server. |
List<IServerInterceptor> |
getInterceptors()
Returns the list of interceptors registered against this server
|
boolean |
isDefaultPrettyPrint()
Should the server "pretty print" responses by default (requesting clients can always override this default by
supplying an
Accept header in the request, or a _pretty
parameter in the request URL. |
boolean |
isUseBrowserFriendlyContentTypes() |
List<IServerInterceptor> getInterceptors()
FhirContext getFhirContext()
FhirContext associated with this server. For efficient processing, resource providers and plain
providers should generally use this context if one is needed, as opposed to
creating their own.boolean isDefaultPrettyPrint()
Accept header in the request, or a _pretty
parameter in the request URL.
The default is false
ETagSupportEnum getETagSupport()
null). Default is
RestfulServer.DEFAULT_ETAG_SUPPORT@Deprecated AddProfileTagEnum getAddProfileTag()
FhirContext.setAddProfileTagWhenEncoding(AddProfileTagEnum)EncodingEnum getDefaultResponseEncoding()
_format URL parameter, or with an Accept header
in the request. The default is EncodingEnum.XML. Will not return null.boolean isUseBrowserFriendlyContentTypes()
true the server will use browser friendly content-types (instead of standard FHIR ones)
when it detects that the request is coming from a browser
instead of a FHIRCopyright © 2014–2017 University Health Network. All rights reserved.