Package ca.uhn.fhir.rest.client.method
Interface IClientResponseHandlerHandlesBinary<T>
- All Superinterfaces:
IClientResponseHandler<T>
- All Known Implementing Classes:
ReadMethodBinding
-
Method Summary
Modifier and TypeMethodDescriptioninvokeClientForBinary
(String theResponseMimeType, InputStream theResponseReader, int theResponseStatusCode, Map<String, List<String>> theHeaders) boolean
isBinary()
If this method returns true,IClientResponseHandler.invokeClient(String, InputStream, int, Map)
should be invoked instead ofinvalid reference
#invokeClient(String, Reader, int, Map)
Methods inherited from interface ca.uhn.fhir.rest.client.method.IClientResponseHandler
invokeClient
-
Method Details
-
isBinary
boolean isBinary()If this method returns true,IClientResponseHandler.invokeClient(String, InputStream, int, Map)
should be invoked instead ofinvalid reference
#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:
IOException
ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException
-