protected final class BaseClient.ResourceResponseHandler<T extends IBaseResource> extends Object implements IClientResponseHandler<T>
| Constructor and Description |
|---|
ResourceResponseHandler() |
ResourceResponseHandler(Class<T> theReturnType) |
ResourceResponseHandler(Class<T> theReturnType,
Class<? extends IBaseResource> thePreferResponseType,
IIdType theId) |
ResourceResponseHandler(Class<T> theReturnType,
Class<? extends IBaseResource> thePreferResponseType,
IIdType theId,
boolean theAllowHtmlResponse) |
ResourceResponseHandler(Class<T> theClass,
List<Class<? extends IBaseResource>> thePreferResponseTypes) |
ResourceResponseHandler(Class<T> theReturnType,
List<Class<? extends IBaseResource>> thePreferResponseTypes,
IIdType theId,
boolean theAllowHtmlResponse) |
| Modifier and Type | Method and Description |
|---|---|
T |
invokeClient(String theResponseMimeType,
Reader theResponseReader,
int theResponseStatusCode,
Map<String,List<String>> theHeaders) |
void |
setPreferResponseTypes(List<Class<? extends IBaseResource>> thePreferResponseTypes) |
public ResourceResponseHandler()
public ResourceResponseHandler(Class<T> theReturnType)
public ResourceResponseHandler(Class<T> theReturnType, Class<? extends IBaseResource> thePreferResponseType, IIdType theId)
public ResourceResponseHandler(Class<T> theReturnType, Class<? extends IBaseResource> thePreferResponseType, IIdType theId, boolean theAllowHtmlResponse)
public ResourceResponseHandler(Class<T> theClass, List<Class<? extends IBaseResource>> thePreferResponseTypes)
public ResourceResponseHandler(Class<T> theReturnType, List<Class<? extends IBaseResource>> thePreferResponseTypes, IIdType theId, boolean theAllowHtmlResponse)
public T invokeClient(String theResponseMimeType, Reader theResponseReader, int theResponseStatusCode, Map<String,List<String>> theHeaders) throws BaseServerResponseException
invokeClient in interface IClientResponseHandler<T extends IBaseResource>BaseServerResponseExceptionpublic void setPreferResponseTypes(List<Class<? extends IBaseResource>> thePreferResponseTypes)
Copyright © 2014–2018 University Health Network. All rights reserved.