
Package ca.uhn.fhir.rest.client.method
Class DeleteMethodBinding
java.lang.Object
ca.uhn.fhir.rest.client.method.BaseMethodBinding<ca.uhn.fhir.rest.api.MethodOutcome>
ca.uhn.fhir.rest.client.method.BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody
ca.uhn.fhir.rest.client.method.DeleteMethodBinding
- All Implemented Interfaces:
- IClientResponseHandler<ca.uhn.fhir.rest.api.MethodOutcome>
public class DeleteMethodBinding
extends BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBody
- 
Constructor SummaryConstructorsConstructorDescriptionDeleteMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanSubclasses may override to allow a void method return type, which is allowable for some methods (e.g. delete)protected BaseHttpClientInvocationcreateClientInvocation(Object[] theArgs, org.hl7.fhir.instance.model.api.IBaseResource theResource) static HttpDeleteClientInvocationcreateDeleteInvocation(ca.uhn.fhir.context.FhirContext theContext, String theSearchUrl, Map<String, List<String>> theParams) static HttpDeleteClientInvocationcreateDeleteInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId, Map<String, List<String>> theAdditionalParams) protected StringFor 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.RestOperationTypeEnuminvokeClient(Object[] theArgs) ca.uhn.fhir.rest.api.MethodOutcomeinvokeClient(String theResponseMimeType, InputStream theResponseInputStream, int theResponseStatusCode, Map<String, List<String>> theHeaders) booleanprotected static voidparseContentLocation(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.MethodOutcome theOutcomeToPopulate, String theLocationHeader) protected Set<ca.uhn.fhir.rest.api.RequestTypeEnum> Methods inherited from class ca.uhn.fhir.rest.client.method.BaseOutcomeReturningMethodBindingWithResourceIdButNoResourceBodygetIdParameterIndex, getResourceNameMethods inherited from class ca.uhn.fhir.rest.client.method.BaseMethodBindingbindMethod, createAppropriateParserForParsingResponse, getAllowableParamAnnotations, getContext, getIncludes, getMethod, getParameters, getProvider, isResourceInterface, isSupportsConditional, isSupportsConditionalMultiple, processNon2xxResponseAndReturnExceptionToThrow, setParameters, verifyMethodHasZeroOrOneOperationAnnotation
- 
Constructor Details- 
DeleteMethodBindingpublic DeleteMethodBinding(Method theMethod, ca.uhn.fhir.context.FhirContext theContext, Object theProvider) 
 
- 
- 
Method Details- 
getRestOperationType- Specified by:
- getRestOperationTypein class- BaseMethodBinding<ca.uhn.fhir.rest.api.MethodOutcome>
 
- 
provideAllowableRequestTypes
- 
createClientInvocationprotected BaseHttpClientInvocation createClientInvocation(Object[] theArgs, org.hl7.fhir.instance.model.api.IBaseResource theResource) 
- 
allowVoidReturnTypeSubclasses may override to allow a void method return type, which is allowable for some methods (e.g. delete)
- 
invokeClientpublic BaseHttpClientInvocation invokeClient(Object[] theArgs) throws ca.uhn.fhir.rest.server.exceptions.InternalErrorException - Specified by:
- invokeClientin class- BaseMethodBinding<ca.uhn.fhir.rest.api.MethodOutcome>
- Throws:
- ca.uhn.fhir.rest.server.exceptions.InternalErrorException
 
- 
createDeleteInvocationpublic static HttpDeleteClientInvocation createDeleteInvocation(ca.uhn.fhir.context.FhirContext theContext, org.hl7.fhir.instance.model.api.IIdType theId, Map<String, List<String>> theAdditionalParams) 
- 
getMatchingOperationFor 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.
- 
createDeleteInvocationpublic static HttpDeleteClientInvocation createDeleteInvocation(ca.uhn.fhir.context.FhirContext theContext, String theSearchUrl, Map<String, List<String>> theParams) 
- 
invokeClientpublic ca.uhn.fhir.rest.api.MethodOutcome invokeClient(String theResponseMimeType, InputStream theResponseInputStream, int theResponseStatusCode, Map<String, List<String>> theHeaders) throws ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException- Throws:
- ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
 
- 
isReturnVoidpublic boolean isReturnVoid()
- 
parseContentLocationprotected static void parseContentLocation(ca.uhn.fhir.context.FhirContext theContext, ca.uhn.fhir.rest.api.MethodOutcome theOutcomeToPopulate, String theLocationHeader) 
 
-