Package ca.uhn.fhir.rest.client.method
Interface IClientResponseHandlerHandlesBinary<T>
-
- All Superinterfaces:
IClientResponseHandler<T>
- All Known Implementing Classes:
ReadMethodBinding
public interface IClientResponseHandlerHandlesBinary<T> extends IClientResponseHandler<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TinvokeClientForBinary(String theResponseMimeType, InputStream theResponseReader, int theResponseStatusCode, Map<String,List<String>> theHeaders)booleanisBinary()If this method returns true,IClientResponseHandler.invokeClient(String, InputStream, int, Map)should be invoked instead of#invokeClient(String, Reader, int, Map)-
Methods inherited from interface ca.uhn.fhir.rest.client.method.IClientResponseHandler
invokeClient
-
-
-
-
Method Detail
-
isBinary
boolean isBinary()
If this method returns true,IClientResponseHandler.invokeClient(String, InputStream, int, Map)should be invoked instead of#invokeClient(String, Reader, int, Map)
-
invokeClientForBinary
T invokeClientForBinary(String theResponseMimeType, InputStream theResponseReader, int theResponseStatusCode, Map<String,List<String>> theHeaders) throws IOException, ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
- Throws:
IOExceptionca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
-
-