public interface IRestfulServerDefaults
| Modifier and Type | Method and Description |
|---|---|
AddProfileTagEnum |
getAddProfileTag() |
EncodingEnum |
getDefaultResponseEncoding() |
ETagSupportEnum |
getETagSupport() |
FhirContext |
getFhirContext()
Gets the
FhirContext associated with 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() |
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_SUPPORTAddProfileTagEnum getAddProfileTag()
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–2016 University Health Network. All rights reserved.