Package ca.uhn.fhir.rest.server
Interface IRestfulServerDefaults
-
- All Known Subinterfaces:
IRestfulServer<T>
- All Known Implementing Classes:
RestfulServer
public interface IRestfulServerDefaults
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ca.uhn.fhir.context.api.AddProfileTagEnumgetAddProfileTag()Deprecated.As of HAPI FHIR 1.5, this property has been moved toFhirContext.setAddProfileTagWhenEncoding(AddProfileTagEnum)ca.uhn.fhir.rest.api.EncodingEnumgetDefaultResponseEncoding()ElementsSupportEnumgetElementsSupport()ETagSupportEnumgetETagSupport()ca.uhn.fhir.context.FhirContextgetFhirContext()Gets theFhirContextassociated with this server.List<IServerInterceptor>getInterceptors_()Returns the list of interceptors registered against this serverca.uhn.fhir.interceptor.api.IInterceptorServicegetInterceptorService()Returns the interceptor service for this serverIPagingProvidergetPagingProvider()Returns the paging provider for this serverbooleanisDefaultPrettyPrint()Should the server "pretty print" responses by default (requesting clients can always override this default by supplying anAcceptheader in the request, or a_prettyparameter in the request URL.
-
-
-
Method Detail
-
getAddProfileTag
@Deprecated ca.uhn.fhir.context.api.AddProfileTagEnum getAddProfileTag()
Deprecated.As of HAPI FHIR 1.5, this property has been moved toFhirContext.setAddProfileTagWhenEncoding(AddProfileTagEnum)- Returns:
- Returns the setting for automatically adding profile tags
-
getDefaultResponseEncoding
ca.uhn.fhir.rest.api.EncodingEnum getDefaultResponseEncoding()
- Returns:
- Returns the default encoding to return (XML/JSON) if an incoming request does not specify a preference
(either with the
_formatURL parameter, or with anAcceptheader in the request. The default isEncodingEnum.XML. Will not return null.
-
getETagSupport
ETagSupportEnum getETagSupport()
- Returns:
- Returns the server support for ETags (will not be
null). Default isRestfulServer.DEFAULT_ETAG_SUPPORT
-
getElementsSupport
ElementsSupportEnum getElementsSupport()
- Returns:
- Returns the support option for the
_elementsparameter on search and read operations. - See Also:
- Extended Elements Support
-
getFhirContext
ca.uhn.fhir.context.FhirContext getFhirContext()
Gets theFhirContextassociated 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.
-
getInterceptors_
List<IServerInterceptor> getInterceptors_()
Returns the list of interceptors registered against this server
-
getPagingProvider
IPagingProvider getPagingProvider()
Returns the paging provider for this server
-
isDefaultPrettyPrint
boolean isDefaultPrettyPrint()
Should the server "pretty print" responses by default (requesting clients can always override this default by supplying anAcceptheader in the request, or a_prettyparameter in the request URL.The default is
false- Returns:
- Returns the default pretty print setting
-
getInterceptorService
ca.uhn.fhir.interceptor.api.IInterceptorService getInterceptorService()
Returns the interceptor service for this server
-
-