Class SearchPreferHandlingInterceptor
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.SearchPreferHandlingInterceptor
- Since:
- 5.4.0
-
Constructor Summary
ConstructorDescriptionConstructor that uses theRestfulServer
itself to determine the allowable search params.SearchPreferHandlingInterceptor
(ISearchParamRegistry theSearchParamRegistry) Constructor that uses a dedicatedISearchParamRegistry
instance. -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.rest.api.PreferHandlingEnum
void
incomingRequestPostProcessed
(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) void
setDefaultBehaviour
(ca.uhn.fhir.rest.api.PreferHandlingEnum theDefaultBehaviour)
-
Constructor Details
-
SearchPreferHandlingInterceptor
public SearchPreferHandlingInterceptor()Constructor that uses theRestfulServer
itself to determine the allowable search params. -
SearchPreferHandlingInterceptor
Constructor that uses a dedicatedISearchParamRegistry
instance. This is mainly intended for the JPA server.
-
-
Method Details
-
incomingRequestPostProcessed
public void incomingRequestPostProcessed(RequestDetails theRequestDetails, jakarta.servlet.http.HttpServletRequest theRequest, jakarta.servlet.http.HttpServletResponse theResponse) throws ca.uhn.fhir.rest.server.exceptions.AuthenticationException - Throws:
ca.uhn.fhir.rest.server.exceptions.AuthenticationException
-
getDefaultBehaviour
-
setDefaultBehaviour
public void setDefaultBehaviour(@Nonnull ca.uhn.fhir.rest.api.PreferHandlingEnum theDefaultBehaviour)
-