public class DeleteMethodBinding extends BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody
| Constructor and Description |
|---|
DeleteMethodBinding(Method theMethod,
FhirContext theContext,
Object theProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allowVoidReturnType()
Subclasses may override to allow a void method return type, which is allowable for some methods (e.g.
|
protected BaseHttpClientInvocation |
createClientInvocation(Object[] theArgs,
IBaseResource theResource) |
static HttpDeleteClientInvocation |
createDeleteInvocation(FhirContext theContext,
IIdType theId) |
static HttpDeleteClientInvocation |
createDeleteInvocation(FhirContext theContext,
String theSearchUrl) |
static HttpDeleteClientInvocation |
createDeleteInvocation(FhirContext theContext,
String theResourceType,
Map<String,List<String>> theParams) |
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.
|
RestOperationTypeEnum |
getRestOperationType() |
BaseHttpClientInvocation |
invokeClient(Object[] theArgs) |
MethodOutcome |
invokeClient(String theResponseMimeType,
Reader theResponseReader,
int theResponseStatusCode,
Map<String,List<String>> theHeaders) |
boolean |
isReturnVoid() |
protected static void |
parseContentLocation(FhirContext theContext,
MethodOutcome theOutcomeToPopulate,
String theLocationHeader) |
protected Set<RequestTypeEnum> |
provideAllowableRequestTypes() |
getIdParameterIndex, getResourceNamebindMethod, createAppropriateParserForParsingResponse, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotationpublic DeleteMethodBinding(Method theMethod, FhirContext theContext, Object theProvider)
public RestOperationTypeEnum getRestOperationType()
getRestOperationType in class BaseMethodBinding<MethodOutcome>protected Set<RequestTypeEnum> provideAllowableRequestTypes()
protected BaseHttpClientInvocation createClientInvocation(Object[] theArgs, IBaseResource theResource)
protected boolean allowVoidReturnType()
public BaseHttpClientInvocation invokeClient(Object[] theArgs) throws InternalErrorException
invokeClient in class BaseMethodBinding<MethodOutcome>InternalErrorExceptionpublic static HttpDeleteClientInvocation createDeleteInvocation(FhirContext theContext, IIdType theId)
protected String getMatchingOperation()
public static HttpDeleteClientInvocation createDeleteInvocation(FhirContext theContext, String theSearchUrl)
public static HttpDeleteClientInvocation createDeleteInvocation(FhirContext theContext, String theResourceType, Map<String,List<String>> theParams)
public MethodOutcome invokeClient(String theResponseMimeType, Reader theResponseReader, int theResponseStatusCode, Map<String,List<String>> theHeaders) throws BaseServerResponseException
BaseServerResponseExceptionpublic boolean isReturnVoid()
protected static void parseContentLocation(FhirContext theContext, MethodOutcome theOutcomeToPopulate, String theLocationHeader)
Copyright © 2014–2018 University Health Network. All rights reserved.