Class ServeMediaResourceRawInterceptor

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.ServeMediaResourceRawInterceptor

This interceptor allows a client to request that a Media resource be served as the raw contents of the resource, assuming either:
  • The client explicitly requests the correct content type using the Accept header
  • The client explicitly requests raw output by adding the parameter _output=data
  • Field Details

  • Constructor Details

  • Method Details

    • outgoingResponse

      public boolean outgoingResponse(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResponseObject, javax.servlet.http.HttpServletRequest theServletRequest, javax.servlet.http.HttpServletResponse theServletResponse) throws ca.uhn.fhir.rest.server.exceptions.AuthenticationException
      Throws:
      ca.uhn.fhir.rest.server.exceptions.AuthenticationException