Package ca.uhn.hapi.converters.server
Class VersionedApiConverterInterceptor
java.lang.Object
ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
ca.uhn.hapi.converters.server.VersionedApiConverterInterceptor
- All Implemented Interfaces:
ca.uhn.fhir.rest.server.interceptor.IServerInterceptor
public class VersionedApiConverterInterceptor
extends ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
This is an experimental interceptor! Use with caution as
behaviour may change or be removed in a future version of
FHIR.
This interceptor partially implements the proposed Versioned API features.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
outgoingResponse
(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.ResponseDetails theResponseDetails, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) Methods inherited from class ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
handleException, incomingRequestPostProcessed, incomingRequestPreHandled, incomingRequestPreProcessed, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, outgoingResponse, preProcessOutgoingException, processingCompletedNormally
-
Constructor Details
-
VersionedApiConverterInterceptor
public VersionedApiConverterInterceptor()
-
-
Method Details
-
outgoingResponse
public boolean outgoingResponse(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.ResponseDetails theResponseDetails, jakarta.servlet.http.HttpServletRequest theServletRequest, jakarta.servlet.http.HttpServletResponse theServletResponse) throws ca.uhn.fhir.rest.server.exceptions.AuthenticationException - Specified by:
outgoingResponse
in interfaceca.uhn.fhir.rest.server.interceptor.IServerInterceptor
- Overrides:
outgoingResponse
in classca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
- Throws:
ca.uhn.fhir.rest.server.exceptions.AuthenticationException
-