Class 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.

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor

        ca.uhn.fhir.rest.server.interceptor.IServerInterceptor.ActionRequestDetails
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean outgoingResponse​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails, ca.uhn.fhir.rest.api.server.ResponseDetails theResponseDetails, javax.servlet.http.HttpServletRequest theServletRequest, javax.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
    • Method Detail

      • outgoingResponse

        public boolean outgoingResponse​(ca.uhn.fhir.rest.api.server.RequestDetails theRequestDetails,
                                        ca.uhn.fhir.rest.api.server.ResponseDetails theResponseDetails,
                                        javax.servlet.http.HttpServletRequest theServletRequest,
                                        javax.servlet.http.HttpServletResponse theServletResponse)
                                 throws ca.uhn.fhir.rest.server.exceptions.AuthenticationException
        Specified by:
        outgoingResponse in interface ca.uhn.fhir.rest.server.interceptor.IServerInterceptor
        Overrides:
        outgoingResponse in class ca.uhn.fhir.rest.server.interceptor.InterceptorAdapter
        Throws:
        ca.uhn.fhir.rest.server.exceptions.AuthenticationException