| Modifier and Type | Method and Description |
|---|---|
protected void |
UpdateMethodBinding.addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
protected void |
ValidateMethodBindingDstu1.addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
protected void |
DeleteMethodBinding.addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
protected void |
PatchMethodBinding.addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
static IIdType |
UpdateMethodBinding.applyETagAsVersion(RequestDetails theRequest,
IIdType id) |
protected IParser |
BaseMethodBinding.createAppropriateParserForParsingServerRequest(RequestDetails theRequest) |
protected Object[] |
BaseMethodBinding.createParametersForServerRequest(RequestDetails theRequest) |
BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle |
PageMethodBinding.doInvokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
BaseResourceReturningMethodBinding.ResourceOrDstu1Bundle |
BaseResourceReturningMethodBinding.doInvokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
static Set<String> |
ElementsParameter.getElementsValueOrNull(RequestDetails theRequest) |
InputStream |
BaseMethodBinding.ActiveRequestReader.getInputStream(RequestDetails theRequestDetails) |
InputStream |
BaseMethodBinding.InactiveRequestReader.getInputStream(RequestDetails theRequestDetails) |
InputStream |
BaseMethodBinding.IRequestReader.getInputStream(RequestDetails theRequestDetails) |
RestOperationTypeEnum |
BaseMethodBinding.getRestOperationType(RequestDetails theRequestDetails)
Determine which operation is being fired for a specific request
|
RestOperationTypeEnum |
ReadMethodBinding.getRestOperationType(RequestDetails theRequestDetails) |
static Set<SummaryEnum> |
SummaryEnumParameter.getSummaryValueOrNull(RequestDetails theRequest) |
boolean |
ConformanceMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
DynamicSearchMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
SearchMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
PageMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
abstract boolean |
BaseMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
ReadMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
HistoryMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
TransactionMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
OperationMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
PatchMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
boolean |
GetTagsMethodBinding.incomingServerRequestMatchesMethod(RequestDetails theRequest) |
abstract Object |
BaseMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
Object |
BaseResourceReturningMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
Object |
OperationMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
Object |
GetTagsMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
IBundleProvider |
ConformanceMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
IBundleProvider |
DynamicSearchMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
IBundleProvider |
SearchMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
Object |
PageMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
IBundleProvider |
ReadMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
abstract Object |
BaseResourceReturningMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
IBundleProvider |
HistoryMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
Object |
TransactionMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
Object |
OperationMethodBinding.invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
protected Object |
BaseMethodBinding.invokeServerMethod(IRestfulServer<?> theServer,
RequestDetails theRequest,
Object[] theMethodParams) |
protected void |
BaseMethodBinding.populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails,
IServerInterceptor.ActionRequestDetails theDetails,
Object[] theMethodParams)
Subclasses may override this method (but should also call super.
#populateActionRequestDetailsForInterceptor(RequestDetails, ActionRequestDetails, Object[]) to provide method specifics to the
interceptors. |
protected void |
TransactionMethodBinding.populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails,
IServerInterceptor.ActionRequestDetails theDetails,
Object[] theMethodParams) |
protected void |
OperationMethodBinding.populateActionRequestDetailsForInterceptor(RequestDetails theRequestDetails,
IServerInterceptor.ActionRequestDetails theDetails,
Object[] theMethodParams) |
Object |
IParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding)
This server method method takes the data received by the server in an incoming request, and translates that data into a single argument for a server method invocation.
|
Object |
CountParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
RawParamsParmeter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
SummaryEnumParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
OperationParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
DynamicSearchParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
SortParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
ElementsParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
| Modifier and Type | Method and Description |
|---|---|
static Reader |
ResourceParameter.createRequestReader(RequestDetails theRequest) |
static Reader |
ResourceParameter.createRequestReader(RequestDetails theRequest,
Charset charset) |
static Charset |
ResourceParameter.determineRequestCharset(RequestDetails theRequest) |
static <T extends IBaseResource> |
ResourceParameter.loadResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<T> theResourceType) |
static IBaseResource |
ResourceParameter.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> theResourceType) |
Object |
ResourceParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
BaseQueryParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
Object |
TransactionParameter.translateQueryParametersIntoServerArgument(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IRestfulServer<T extends RequestDetails> |
class |
RestfulResponse<T extends RequestDetails> |
| Modifier and Type | Method and Description |
|---|---|
static void |
RestfulServerUtils.configureResponseParser(RequestDetails theRequestDetails,
IParser parser) |
static EncodingEnum |
RestfulServerUtils.determineRequestEncoding(RequestDetails theReq) |
static EncodingEnum |
RestfulServerUtils.determineRequestEncodingNoDefault(RequestDetails theReq) |
BaseMethodBinding<?> |
RestfulServer.determineResourceMethod(RequestDetails requestDetails,
String requestPath) |
static RestfulServerUtils.ResponseEncoding |
RestfulServerUtils.determineResponseEncodingNoDefault(RequestDetails theReq,
EncodingEnum thePrefer)
Returns null if the request doesn't express that it wants FHIR.
|
static RestfulServerUtils.ResponseEncoding |
RestfulServerUtils.determineResponseEncodingWithDefault(RequestDetails theReq)
Determine whether a response should be given in JSON or XML format based on the incoming HttpServletRequest's
"_format" parameter and "Accept:" HTTP header. |
static Set<SummaryEnum> |
RestfulServerUtils.determineSummaryMode(RequestDetails theRequest) |
static Integer |
RestfulServerUtils.extractCountParameter(RequestDetails theRequest) |
BaseMethodBinding<?> |
ResourceBinding.getMethod(RequestDetails theRequest) |
static IParser |
RestfulServerUtils.getNewParser(FhirContext theContext,
RequestDetails theRequestDetails) |
Object |
IRestfulServerUtil.getRequestResource(RequestDetails theRequest,
TransactionParameter.ParamStyle myParamStyle,
Class<? extends IBaseResource> myResourceBundleType) |
Object |
IRestfulServerUtil.getResourceParameter(RequestDetails requestDetails,
ResourceParameter.Mode myMode,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> myResourceType) |
<T extends IBaseResource> |
IRestfulServerUtil.loadResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<T> theResourceType) |
IBaseResource |
IRestfulServerUtil.parseResourceFromRequest(RequestDetails theRequest,
BaseMethodBinding<?> theMethodBinding,
Class<? extends IBaseResource> theResourceType) |
void |
RestfulServer.populateRequestDetailsFromRequestPath(RequestDetails theRequestDetails,
String theRequestPath) |
static boolean |
RestfulServerUtils.prettyPrintResponse(IRestfulServerDefaults theServer,
RequestDetails theRequest) |
static Object |
RestfulServerUtils.streamResponseAsBundle(IRestfulServerDefaults theServer,
Bundle bundle,
Set<SummaryEnum> theSummaryMode,
boolean respondGzip,
RequestDetails theRequestDetails) |
static Object |
RestfulServerUtils.streamResponseAsResource(IRestfulServerDefaults theServer,
IBaseResource theResource,
Set<SummaryEnum> theSummaryMode,
int stausCode,
boolean theAddContentLocationHeader,
boolean respondGzip,
RequestDetails theRequestDetails) |
static Object |
RestfulServerUtils.streamResponseAsResource(IRestfulServerDefaults theServer,
IBaseResource theResource,
Set<SummaryEnum> theSummaryMode,
int theStausCode,
String theStatusMessage,
boolean theAddContentLocationHeader,
boolean respondGzip,
RequestDetails theRequestDetails,
IIdType theOperationResourceId,
IPrimitiveType<Date> theOperationResourceLastUpdated) |
static Integer |
RestfulServerUtils.tryToExtractNamedParameter(RequestDetails theRequest,
String theParamName) |
| Modifier and Type | Method and Description |
|---|---|
RequestDetails |
IServerInterceptor.ActionRequestDetails.getRequestDetails()
Returns the request details associated with this request
|
| Modifier and Type | Method and Description |
|---|---|
Object |
ExceptionHandlingInterceptor.handleException(RequestDetails theRequestDetails,
BaseServerResponseException theException) |
boolean |
InterceptorAdapter.handleException(RequestDetails theRequestDetails,
BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.handleException(RequestDetails theRequestDetails,
BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called upon any exception being thrown within the server's request processing code.
|
boolean |
LoggingInterceptor.handleException(RequestDetails theRequestDetails,
BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
ExceptionHandlingInterceptor.handleException(RequestDetails theRequestDetails,
BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
ResponseHighlighterInterceptor.handleException(RequestDetails theRequestDetails,
BaseServerResponseException theException,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
RequestValidatingInterceptor.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
VerboseLoggingInterceptor.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
InterceptorAdapter.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse) |
boolean |
IServerInterceptor.incomingRequestPostProcessed(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theRequest,
javax.servlet.http.HttpServletResponse theResponse)
This method is called just before the actual implementing server method is invoked.
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
Bundle bundle) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequest,
Bundle theResponseObject)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
Bundle theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
Bundle theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
RequestValidatingInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
boolean |
ResponseValidatingInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
ResponseHighlighterInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
TagList theResponseObject) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
TagList theResponseObject)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
boolean |
InterceptorAdapter.outgoingResponse(RequestDetails theRequestDetails,
TagList theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
IServerInterceptor.outgoingResponse(RequestDetails theRequestDetails,
TagList theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse)
This method is called after the server implementation method has been called, but before any attempt to stream the
response back to the client
|
BaseServerResponseException |
InterceptorAdapter.preProcessOutgoingException(RequestDetails theRequestDetails,
Throwable theException,
javax.servlet.http.HttpServletRequest theServletRequest) |
BaseServerResponseException |
IServerInterceptor.preProcessOutgoingException(RequestDetails theRequestDetails,
Throwable theException,
javax.servlet.http.HttpServletRequest theServletRequest)
This method is called upon any exception being thrown within the server's request processing code.
|
BaseServerResponseException |
ExceptionHandlingInterceptor.preProcessOutgoingException(RequestDetails theRequestDetails,
Throwable theException,
javax.servlet.http.HttpServletRequest theServletRequest) |
void |
ServerOperationInterceptorAdapter.resourceCreated(RequestDetails theRequest,
IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceCreated(RequestDetails theRequest,
IBaseResource theResource)
User code may call this method to indicate to an interceptor that
a resource is being created
|
void |
ServerOperationInterceptorAdapter.resourceDeleted(RequestDetails theRequest,
IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceDeleted(RequestDetails theRequest,
IBaseResource theResource)
User code may call this method to indicate to an interceptor that
a resource is being deleted
|
void |
ServerOperationInterceptorAdapter.resourceUpdated(RequestDetails theRequest,
IBaseResource theResource) |
void |
IServerOperationInterceptor.resourceUpdated(RequestDetails theRequest,
IBaseResource theResource)
User code may call this method to indicate to an interceptor that
a resource is being updated
|
| Constructor and Description |
|---|
ActionRequestDetails(RequestDetails theRequestDetails) |
ActionRequestDetails(RequestDetails theRequestDetails,
FhirContext theContext,
IBaseResource theResource) |
ActionRequestDetails(RequestDetails theRequestDetails,
FhirContext theContext,
String theResourceType,
IIdType theId) |
ActionRequestDetails(RequestDetails theRequestDetails,
IBaseResource theResource) |
ActionRequestDetails(RequestDetails theRequestDetails,
IBaseResource theResource,
String theResourceType,
IIdType theId) |
ActionRequestDetails(RequestDetails theRequestDetails,
IIdType theId)
Constructor
|
ActionRequestDetails(RequestDetails theRequestDetails,
String theResourceType,
IIdType theId) |
| Modifier and Type | Method and Description |
|---|---|
AuthorizationInterceptor.Verdict |
IAuthRule.applyRule(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource,
IRuleApplier theRuleApplier)
Applies the rule and returns a policy decision, or
null if the rule does not apply |
AuthorizationInterceptor.Verdict |
RuleImplConditional.applyRule(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource,
IRuleApplier theRuleApplier) |
AuthorizationInterceptor.Verdict |
AuthorizationInterceptor.applyRulesAndReturnDecision(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource) |
AuthorizationInterceptor.Verdict |
IRuleApplier.applyRulesAndReturnDecision(RestOperationTypeEnum theOperation,
RequestDetails theRequestDetails,
IBaseResource theInputResource,
IIdType theInputResourceId,
IBaseResource theOutputResource) |
List<IAuthRule> |
AuthorizationInterceptor.buildRuleList(RequestDetails theRequestDetails)
Subclasses should override this method to supply the set of rules to be applied to
this individual request.
|
boolean |
AuthorizationInterceptor.outgoingResponse(RequestDetails theRequestDetails,
Bundle theBundle) |
boolean |
AuthorizationInterceptor.outgoingResponse(RequestDetails theRequestDetails,
Bundle theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
boolean |
AuthorizationInterceptor.outgoingResponse(RequestDetails theRequestDetails,
IBaseResource theResponseObject) |
boolean |
AuthorizationInterceptor.outgoingResponse(RequestDetails theRequestDetails,
TagList theResponseObject) |
boolean |
AuthorizationInterceptor.outgoingResponse(RequestDetails theRequestDetails,
TagList theResponseObject,
javax.servlet.http.HttpServletRequest theServletRequest,
javax.servlet.http.HttpServletResponse theServletResponse) |
void |
AuthorizationInterceptor.resourceCreated(RequestDetails theRequest,
IBaseResource theResource) |
void |
AuthorizationInterceptor.resourceDeleted(RequestDetails theRequest,
IBaseResource theResource) |
void |
AuthorizationInterceptor.resourceUpdated(RequestDetails theRequest,
IBaseResource theResource) |
| Modifier and Type | Class and Description |
|---|---|
class |
ServletRequestDetails |
Copyright © 2014–2017 University Health Network. All rights reserved.