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.

  • Nested Class Summary

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • 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