Class IServerInterceptor.ActionRequestDetails

    • Constructor Detail

      • 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,
                                    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)
    • Method Detail

      • 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)
      • 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

        public String getResourceType()
        Deprecated.
        Returns the resource type this request pertains to, or null if this request is not type specific (e.g. server-history)
      • 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.