
Package ca.uhn.fhir.rest.server.method
Class ConformanceMethodBinding
java.lang.Object
ca.uhn.fhir.rest.server.method.BaseMethodBinding
ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
ca.uhn.fhir.rest.server.method.ConformanceMethodBinding
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
BaseResourceReturningMethodBinding.MethodReturnTypeEnum, BaseResourceReturningMethodBinding.ReturnTypeEnum -
Field Summary
FieldsFields inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
myResponseBundleBuilder -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected ca.uhn.fhir.model.valueset.BundleTypeEnumIf the response is a bundle, this type will be placed in the root of the bundle (can be null)ca.uhn.fhir.rest.api.RestOperationTypeEnumincomingServerRequestMatchesMethod(RequestDetails theRequest) invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) org.hl7.fhir.instance.model.api.IBaseConformanceprovideCapabilityStatement(RestfulServer theServer, RequestDetails theRequest) Create and return the server's CapabilityStatementvoidsetCacheMillis(long theCacheMillis) Returns the number of milliseconds to cache the generated CapabilityStatement for.Methods inherited from class ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding
callOutgoingFailureOperationOutcomeHook, callOutgoingResponseHook, doInvokeServer, getMethodReturnType, getResourceName, invokeServer, isAddContentLocationHeader, isOffsetModeHistory, provideExpectedReturnTypes, setResourceNameMethods inherited from class ca.uhn.fhir.rest.server.method.BaseMethodBinding
bindMethod, createMethodParams, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getQueryParameters, getRequestIncludesFromParams, getRestOperationType, getRevIncludes, invokeServerMethod, isGlobalMethod, isSupportsConditional, isSupportsConditionalMultiple, populateRequestDetailsForInterceptor, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotation
-
Field Details
-
CACHE_THREAD_PREFIX
- See Also:
-
-
Method Details
-
setCacheMillis
Returns the number of milliseconds to cache the generated CapabilityStatement for. Default is one minute, and can be set to 0 to never cache.- Since:
- 4.1.0
- See Also:
-
getReturnType
- Specified by:
getReturnTypein classBaseResourceReturningMethodBinding
-
close
- Overrides:
closein classBaseMethodBinding
-
invokeServer
public IBundleProvider invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest, Object[] theMethodParams) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException - Specified by:
invokeServerin classBaseResourceReturningMethodBinding- Throws:
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
-
incomingServerRequestMatchesMethod
- Specified by:
incomingServerRequestMatchesMethodin classBaseMethodBinding
-
getRestOperationType
- Specified by:
getRestOperationTypein classBaseMethodBinding
-
getResponseBundleType
Description copied from class:BaseResourceReturningMethodBindingIf the response is a bundle, this type will be placed in the root of the bundle (can be null)- Specified by:
getResponseBundleTypein classBaseResourceReturningMethodBinding
-
provideCapabilityStatement
public org.hl7.fhir.instance.model.api.IBaseConformance provideCapabilityStatement(RestfulServer theServer, RequestDetails theRequest) Create and return the server's CapabilityStatement
-