public class DeleteMethodBinding extends BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody
| Constructor and Description |
|---|
DeleteMethodBinding(Method theMethod,
ca.uhn.fhir.context.FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addParametersForServerRequest(RequestDetails theRequest,
Object[] theParams) |
protected boolean |
allowVoidReturnType()
Subclasses may override to allow a void method return type, which is allowable for some methods (e.g.
|
protected String |
getMatchingOperation()
For servers, this method will match only incoming requests that match the given operation, or which have no
operation in the URL if this method returns null.
|
ca.uhn.fhir.rest.api.RestOperationTypeEnum |
getRestOperationType() |
boolean |
incomingServerRequestMatchesMethod(RequestDetails theRequest) |
Object |
invokeServer(IRestfulServer<?> theServer,
RequestDetails theRequest) |
boolean |
isReturnVoid() |
protected static void |
parseContentLocation(ca.uhn.fhir.context.FhirContext theContext,
ca.uhn.fhir.rest.api.MethodOutcome theOutcomeToPopulate,
String theLocationHeader) |
protected Set<ca.uhn.fhir.rest.api.RequestTypeEnum> |
provideAllowableRequestTypes() |
getIdParameterIndex, getResourceNamebindMethod, createAppropriateParserForParsingResponse, createAppropriateParserForParsingServerRequest, createMethodParams, createParametersForServerRequest, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, getRequestIncludesFromParams, getRestOperationType, invokeServerMethod, isGlobalMethod, isSupportsConditional, isSupportsConditionalMultiple, populateActionRequestDetailsForInterceptor, processNon2xxResponseAndReturnExceptionToThrow, setParameters, toResourceList, verifyMethodHasZeroOrOneOperationAnnotationpublic DeleteMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider)
@Nonnull public ca.uhn.fhir.rest.api.RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<ca.uhn.fhir.rest.api.MethodOutcome>protected Set<ca.uhn.fhir.rest.api.RequestTypeEnum> provideAllowableRequestTypes()
protected boolean allowVoidReturnType()
protected void addParametersForServerRequest(RequestDetails theRequest, Object[] theParams)
protected String getMatchingOperation()
public boolean incomingServerRequestMatchesMethod(RequestDetails theRequest)
incomingServerRequestMatchesMethod in class BaseMethodBinding<ca.uhn.fhir.rest.api.MethodOutcome>public Object invokeServer(IRestfulServer<?> theServer, RequestDetails theRequest) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException, IOException
invokeServer in class BaseMethodBinding<ca.uhn.fhir.rest.api.MethodOutcome>ca.uhn.fhir.rest.server.exceptions.BaseServerResponseExceptionIOExceptionpublic boolean isReturnVoid()
protected static void parseContentLocation(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.MethodOutcome theOutcomeToPopulate, String theLocationHeader)
Copyright © 2014–2019 University Health Network. All rights reserved.