public interface IClientExecutable<T extends IClientExecutable<?,Y>,Y>
| Modifier and Type | Method and Description |
|---|---|
T |
andLogRequestAndResponse(boolean theLogRequestAndResponse)
Deprecated.
Use the client logging interceptor to log requests and responses instead. See here for more information.
|
T |
cacheControl(CacheControlDirective theCacheControlDirective)
Sets the
Cache-Control header value, which advises the server (or any cache in front of it)
how to behave in terms of cached requests |
T |
elementsSubset(String... theElements)
Request that the server return subsetted resources, containing only the elements specified in the given parameters.
|
T |
encoded(EncodingEnum theEncoding) |
T |
encodedJson() |
T |
encodedXml() |
Y |
execute()
Actually execute the client operation
|
T |
preferResponseType(Class<? extends IBaseResource> theType)
Explicitly specify a custom structure type to attempt to use when parsing the response.
|
T |
preferResponseTypes(List<Class<? extends IBaseResource>> theTypes)
Explicitly specify a list of custom structure types to attempt to use (in order from most to
least preferred) when parsing the response.
|
T |
prettyPrint() |
T |
summaryMode(SummaryEnum theSummary)
Request that the server modify the response using the
_summary param |
@Deprecated T andLogRequestAndResponse(boolean theLogRequestAndResponse)
T cacheControl(CacheControlDirective theCacheControlDirective)
Cache-Control header value, which advises the server (or any cache in front of it)
how to behave in terms of cached requestsT elementsSubset(String... theElements)
subsetElements("name", "identifier") requests that the server only return
the "name" and "identifier" fields in the returned resource, and omit any others.T encoded(EncodingEnum theEncoding)
T encodedJson()
T encodedXml()
T preferResponseType(Class<? extends IBaseResource> theType)
See Profiles and Extensions for more information on using custom structures
T preferResponseTypes(List<Class<? extends IBaseResource>> theTypes)
See Profiles and Extensions for more information on using custom structures
T prettyPrint()
T summaryMode(SummaryEnum theSummary)
_summary paramCopyright © 2014–2018 University Health Network. All rights reserved.