Class IServerInterceptor.ActionRequestDetails

java.lang.Object
ca.uhn.fhir.rest.server.interceptor.IServerInterceptor.ActionRequestDetails
Enclosing interface:
IServerInterceptor

Deprecated.
This class doesn't bring anything that can't be done with RequestDetails. That class should be used instead. Deprecated in 4.0.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    ActionRequestDetails​(RequestDetails theRequestDetails)
    Deprecated.
     
    ActionRequestDetails​(RequestDetails theRequestDetails, ca.uhn.fhir.context.FhirContext theContext, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
    Deprecated.
     
    ActionRequestDetails​(RequestDetails theRequestDetails, ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource)
    Deprecated.
     
    ActionRequestDetails​(RequestDetails theRequestDetails, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
    Deprecated.
     
    ActionRequestDetails​(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource)
    Deprecated.
     
    ActionRequestDetails​(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
    Deprecated.
     
    ActionRequestDetails​(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId)
    Deprecated.
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    ca.uhn.fhir.context.FhirContext
    Deprecated.
     
    org.hl7.fhir.instance.model.api.IIdType
    Deprecated.
    Returns the ID of the incoming request (typically this is from the request URL)
    Deprecated.
    Returns the request details associated with this request
    org.hl7.fhir.instance.model.api.IBaseResource
    Deprecated.
    For requests where a resource is passed from the client to the server (e.g.
    Deprecated.
    Returns the resource type this request pertains to, or null if this request is not type specific (e.g.
    Deprecated.
    Returns the same map which was
    void
    notifyIncomingRequestPreHandled​(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperationType)
    Deprecated.
    This method may be invoked by user code to notify interceptors that a nested operation is being invoked which is denoted by this request details.
    void
    setResource​(org.hl7.fhir.instance.model.api.IBaseResource theObject)
    Deprecated.
    This method should not be called by client code
    Deprecated.
     

    Methods inherited from class java.lang.Object

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

    • ActionRequestDetails

      public ActionRequestDetails(RequestDetails theRequestDetails)
      Deprecated.
    • ActionRequestDetails

      public ActionRequestDetails(RequestDetails theRequestDetails, ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IBaseResource theResource)
      Deprecated.
    • ActionRequestDetails

      public ActionRequestDetails(RequestDetails theRequestDetails, ca.uhn.fhir.context.FhirContext theContext, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
      Deprecated.
    • ActionRequestDetails

      public ActionRequestDetails(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource)
      Deprecated.
    • ActionRequestDetails

      public ActionRequestDetails(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IBaseResource theResource, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
      Deprecated.
    • ActionRequestDetails

      public ActionRequestDetails(RequestDetails theRequestDetails, org.hl7.fhir.instance.model.api.IIdType theId)
      Deprecated.
      Constructor
      Parameters:
      theRequestDetails - The request details to wrap
      theId - The ID of the resource being created (note that the ID should have the resource type populated)
    • ActionRequestDetails

      public ActionRequestDetails(RequestDetails theRequestDetails, String theResourceType, org.hl7.fhir.instance.model.api.IIdType theId)
      Deprecated.
  • Method Details

    • getContext

      public ca.uhn.fhir.context.FhirContext getContext()
      Deprecated.
    • getId

      public org.hl7.fhir.instance.model.api.IIdType getId()
      Deprecated.
      Returns the ID of the incoming request (typically this is from the request URL)
    • getRequestDetails

      Deprecated.
      Returns the request details associated with this request
    • getResource

      public org.hl7.fhir.instance.model.api.IBaseResource getResource()
      Deprecated.
      For requests where a resource is passed from the client to the server (e.g. create, update, etc.) this method will return the resource which was provided by the client. Otherwise, this method will return null .

      Note that this method is currently only populated if the handling method has a parameter annotated with the ResourceParam annotation.

    • setResource

      public void setResource(org.hl7.fhir.instance.model.api.IBaseResource theObject)
      Deprecated.
      This method should not be called by client code
    • getResourceType

      Deprecated.
      Returns the resource type this request pertains to, or null if this request is not type specific (e.g. server-history)
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • getUserData

      public Map<Object,​Object> getUserData()
      Deprecated.
      Returns the same map which was
    • notifyIncomingRequestPreHandled

      public void notifyIncomingRequestPreHandled(ca.uhn.fhir.rest.api.RestOperationTypeEnum theOperationType)
      Deprecated.
      This method may be invoked by user code to notify interceptors that a nested operation is being invoked which is denoted by this request details.