Package org.labkey.remoteapi
Class Command.Response
java.lang.Object
org.labkey.remoteapi.Command.Response
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- Command<ResponseType extends CommandResponse,
RequestType extends org.apache.hc.client5.http.classic.methods.HttpUriRequest>
Response class allows clients to get an InputStream, consume lazily, and close the connection when complete.
-
Method Summary
-
Method Details
-
getStatusText
-
getStatusCode
public int getStatusCode() -
getContentType
-
getContentLength
-
getInputStream
- Throws:
IOException
-
getReader
- Throws:
IOException
-
getText
- Throws:
IOException
-
getHeaderValue
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-