Package ca.uhn.fhir.rest.server
Class RestfulServerConfiguration
java.lang.Object
ca.uhn.fhir.rest.server.RestfulServerConfiguration
- All Implemented Interfaces:
ISearchParamRegistry
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMap<String,List<BaseMethodBinding<?>>> voidca.uhn.fhir.context.RuntimeSearchParamgetActiveSearchParam(String theResourceName, String theParamName) ca.uhn.fhir.context.RuntimeSearchParamgetActiveSearchParamByUrl(String theUrl) Fetch a SearchParameter by URLgetActiveSearchParams(String theResourceName) org.hl7.fhir.instance.model.api.IPrimitiveType<Date>Get the date that will be specified in the conformance profile exported by this server.ca.uhn.fhir.context.FhirContextGets theFhirContextassociated with this server.Get the implementationDescriptionGet the resourceBindingsGet the serverAddressStrategyGet the serverBindingsGet the serverNameGet the serverVersionvoidsetConformanceDate(org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theConformanceDate) Set the date that will be specified in the conformance profile exported by this server.setFhirContext(ca.uhn.fhir.context.FhirContext fhirContext) Set the fhirContextvoidsetGlobalBindings(List<BaseMethodBinding<?>> theGlobalBindings) setImplementationDescription(String implementationDescription) Set the implementationDescriptionsetNameToSharedSupertype(Map<String, Class<? extends org.hl7.fhir.instance.model.api.IBaseResource>> resourceNameToSharedSupertype) setResourceBindings(Collection<ResourceBinding> resourceBindings) Set the resourceBindingsvoidsetServerAddressStrategy(IServerAddressStrategy serverAddressStrategy) Set the serverAddressStrategysetServerBindings(List<BaseMethodBinding<?>> theServerBindings) Set the theServerBindingssetServerName(String serverName) Set the serverNamesetServerVersion(String serverVersion) Set the serverVersionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.fhir.rest.server.util.ISearchParamRegistry
forceRefresh, getActiveComboSearchParams, getActiveComboSearchParams, getRuntimeSearchParam, getValidSearchParameterNamesIncludingMeta, requestRefresh, setPhoneticEncoder
-
Field Details
-
GLOBAL
- See Also:
-
-
Constructor Details
-
RestfulServerConfiguration
public RestfulServerConfiguration()Constructor
-
-
Method Details
-
getResourceBindings
Get the resourceBindings- Returns:
- the resourceBindings
-
setResourceBindings
Set the resourceBindings- Parameters:
resourceBindings- the resourceBindings to set
-
getServerBindings
Get the serverBindings- Returns:
- the serverBindings
-
setServerBindings
Set the theServerBindings -
getImplementationDescription
Get the implementationDescription- Returns:
- the implementationDescription
-
setImplementationDescription
Set the implementationDescription- Parameters:
implementationDescription- the implementationDescription to set
-
getServerVersion
Get the serverVersion- Returns:
- the serverVersion
-
setServerVersion
Set the serverVersion- Parameters:
serverVersion- the serverVersion to set
-
getServerName
Get the serverName- Returns:
- the serverName
-
setServerName
Set the serverName- Parameters:
serverName- the serverName to set
-
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. -
setFhirContext
Set the fhirContext- Parameters:
fhirContext- the fhirContext to set
-
getServerAddressStrategy
Get the serverAddressStrategy- Returns:
- the serverAddressStrategy
-
setServerAddressStrategy
Set the serverAddressStrategy- Parameters:
serverAddressStrategy- the serverAddressStrategy to set
-
getConformanceDate
Get the date that will be specified in the conformance profile exported by this server. Typically this would be populated with an InstanceType. -
setConformanceDate
public void setConformanceDate(org.hl7.fhir.instance.model.api.IPrimitiveType<Date> theConformanceDate) Set the date that will be specified in the conformance profile exported by this server. Typically this would be populated with an InstanceType. -
provideBindings
-
collectMethodBindings
-
getGlobalBindings
-
setGlobalBindings
-
getActiveSearchParam
public ca.uhn.fhir.context.RuntimeSearchParam getActiveSearchParam(String theResourceName, String theParamName) - Specified by:
getActiveSearchParamin interfaceISearchParamRegistry- Returns:
- Returns null if no match
-
getActiveSearchParams
- Specified by:
getActiveSearchParamsin interfaceISearchParamRegistry- Returns:
- Returns all active search params for the given resource
-
getActiveSearchParamByUrl
Description copied from interface:ISearchParamRegistryFetch a SearchParameter by URL- Specified by:
getActiveSearchParamByUrlin interfaceISearchParamRegistry- Returns:
- Returns
nullif it can't be found
-