| Package | Description |
|---|---|
| ca.uhn.fhir.parser | |
| ca.uhn.fhir.rest.client | |
| ca.uhn.fhir.rest.client.api | |
| ca.uhn.fhir.rest.method | |
| ca.uhn.fhir.rest.server | |
| ca.uhn.fhir.validation |
| Modifier and Type | Method and Description |
|---|---|
EncodingEnum |
XmlParser.getEncoding() |
EncodingEnum |
JsonParser.getEncoding() |
EncodingEnum |
IParser.getEncoding()
Which encoding does this parser instance produce?
|
| Modifier and Type | Method and Description |
|---|---|
EncodingEnum |
BaseClient.getEncoding()
Returns the encoding that will be used on requests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BaseHttpClientInvocation.addHeadersToRequest(org.apache.http.client.methods.HttpRequestBase theHttpRequest,
EncodingEnum theEncoding) |
abstract org.apache.http.client.methods.HttpRequestBase |
BaseHttpClientInvocation.asHttpRequest(String theUrlBase,
Map<String,List<String>> theExtraParams,
EncodingEnum theEncoding,
Boolean thePrettyPrint)
Create an HTTP request out of this client request
|
void |
BaseClient.setEncoding(EncodingEnum theEncoding)
Sets the encoding that will be used on requests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IRestfulClient.setEncoding(EncodingEnum theEncoding)
Specifies that the client should use the given encoding to do its
queries.
|
| Modifier and Type | Method and Description |
|---|---|
static EncodingEnum |
MethodUtil.detectEncoding(String theBody) |
static EncodingEnum |
MethodUtil.detectEncodingNoDefault(String theBody) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.client.methods.HttpRequestBase |
HttpSimpleGetClientInvocation.asHttpRequest(String theUrlBase,
Map<String,List<String>> theExtraParams,
EncodingEnum theEncoding,
Boolean thePrettyPrint) |
org.apache.http.client.methods.HttpGet |
HttpGetClientInvocation.asHttpRequest(String theUrlBase,
Map<String,List<String>> theExtraParams,
EncodingEnum theEncoding,
Boolean thePrettyPrint) |
org.apache.http.client.methods.HttpRequestBase |
HttpDeleteClientInvocation.asHttpRequest(String theUrlBase,
Map<String,List<String>> theExtraParams,
EncodingEnum theEncoding,
Boolean thePrettyPrint) |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,EncodingEnum> |
Constants.FORMAT_VAL_TO_ENCODING |
| Modifier and Type | Method and Description |
|---|---|
static EncodingEnum |
RestfulServerUtils.determineRequestEncoding(RequestDetails theReq) |
static EncodingEnum |
RestfulServerUtils.determineRequestEncodingNoDefault(RequestDetails theReq) |
static EncodingEnum |
RestfulServerUtils.determineResponseEncodingNoDefault(RequestDetails theReq,
EncodingEnum thePrefer)
Returns null if the request doesn't express that it wants FHIR.
|
static EncodingEnum |
RestfulServerUtils.determineResponseEncodingWithDefault(RequestDetails theReq)
Determine whether a response should be given in JSON or XML format based on the incoming HttpServletRequest's
"_format" parameter and "Accept:" HTTP header. |
static EncodingEnum |
EncodingEnum.forContentType(String theContentType) |
EncodingEnum |
RestfulServer.getDefaultResponseEncoding()
Returns the default encoding to return (XML/JSON) if an incoming request does not specify a preference (either with the
_format URL parameter, or with an Accept header
in the request. |
EncodingEnum |
IRestfulServerDefaults.getDefaultResponseEncoding() |
static EncodingEnum |
EncodingEnum.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodingEnum[] |
EncodingEnum.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
RestfulServerUtils.createPagingLink(Set<Include> theIncludes,
String theServerBase,
String theSearchId,
int theOffset,
int theCount,
EncodingEnum theResponseEncoding,
boolean thePrettyPrint,
BundleTypeEnum theBundleType) |
static EncodingEnum |
RestfulServerUtils.determineResponseEncodingNoDefault(RequestDetails theReq,
EncodingEnum thePrefer)
Returns null if the request doesn't express that it wants FHIR.
|
void |
IVersionSpecificBundleFactory.initializeBundleFromBundleProvider(IRestfulServer theServer,
IBundleProvider theResult,
EncodingEnum theResponseEncoding,
String theServerBase,
String theCompleteUrl,
boolean thePrettyPrint,
int theOffset,
Integer theCount,
String theSearchId,
BundleTypeEnum theBundleType,
Set<Include> theIncludes) |
void |
RestfulServer.setDefaultResponseEncoding(EncodingEnum theDefaultResponseEncoding)
Sets the default encoding to return (XML/JSON) if an incoming request does not specify a preference (either with the
_format URL parameter, or with an Accept header in
the request. |
| Modifier and Type | Method and Description |
|---|---|
EncodingEnum |
ValidationContext.getResourceAsStringEncoding() |
EncodingEnum |
IValidationContext.getResourceAsStringEncoding() |
Copyright © 2014–2016 University Health Network. All rights reserved.