Package ca.uhn.fhir.rest.gclient
Interface IOperationUntypedWithInput<T>
- All Superinterfaces:
IClientExecutable<IOperationUntypedWithInput<T>,
T>
- All Known Subinterfaces:
IOperationUntypedWithInputAndPartialOutput<T>
public interface IOperationUntypedWithInput<T>
extends IClientExecutable<IOperationUntypedWithInput<T>,T>
-
Method Summary
Modifier and TypeMethodDescriptionRequest that the method chain returns aMethodOutcome
object.<R extends IBaseResource>
IOperationUntypedWithInput<R> returnResourceType
(Class<R> theReturnType) If this operation returns a single resource body as its return type instead of aParameters
resource, use this method to specify that resource type.The client should invoke this method using an HTTP GET instead of an HTTP POST.Methods inherited from interface ca.uhn.fhir.rest.gclient.IClientExecutable
accept, andLogRequestAndResponse, cacheControl, elementsSubset, encoded, encodedJson, encodedXml, execute, preferResponseType, preferResponseTypes, prettyPrint, summaryMode, withAdditionalHeader
-
Method Details
-
useHttpGet
The client should invoke this method using an HTTP GET instead of an HTTP POST. Note that according the the FHIR specification, all methods must support using the POST method, but only certain methods may support the HTTP GET method, so it is generally not necessary to use this feature.If you have a specific reason for needing to use a GET however, this method will enable it.
-
returnResourceType
If this operation returns a single resource body as its return type instead of aParameters
resource, use this method to specify that resource type. This is useful for certain operations (e.g.Patient/NNN/$everything
) which return a bundle instead of a Parameters resource.Passing in Binary.class allows any arbitrary response to be returned. Any payload at all will be read as raw bytes into a Binary resource.
-
returnMethodOutcome
Request that the method chain returns aMethodOutcome
object. This object will contain details
-