public static class IServerInterceptor.ActionRequestDetails extends Object
| Constructor and Description |
|---|
ActionRequestDetails(IIdType theId,
String theResourceType,
FhirContext theContext) |
ActionRequestDetails(IIdType theId,
String theResourceType,
IBaseResource theResource,
FhirContext theContext) |
ActionRequestDetails(RequestDetails theRequestDetails) |
| Modifier and Type | Method and Description |
|---|---|
FhirContext |
getContext() |
IIdType |
getId()
Returns the ID of the incoming request (typically this is from the request URL)
|
IBaseResource |
getResource()
For requests where a resource is passed from the client to the server (e.g.
|
String |
getResourceType()
Returns the resource type this request pertains to, or
null if this request is not type specific
(e.g. |
void |
lock()
Prevent any further changes to this object
|
void |
setResource(IBaseResource theObject)
This method should not be called by client code
|
public ActionRequestDetails(IIdType theId, String theResourceType, FhirContext theContext)
public ActionRequestDetails(RequestDetails theRequestDetails)
public ActionRequestDetails(IIdType theId, String theResourceType, IBaseResource theResource, FhirContext theContext)
public FhirContext getContext()
public IIdType getId()
public IBaseResource getResource()
null
.
Note that this method is currently only populated if the handling method has a parameter annotated with the
ResourceParam annotation.
public String getResourceType()
null if this request is not type specific
(e.g. server-history)public void lock()
public void setResource(IBaseResource theObject)
Copyright © 2014–2016 University Health Network. All rights reserved.