Package org.projectnessie.client.http
Interface ResponseContext
-
public interface ResponseContextInterface for the important parts of a response. This is created after executing the request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetContentType()java.io.InputStreamgetErrorStream()java.io.InputStreamgetInputStream()java.net.URIgetRequestedUri()StatusgetResponseCode()booleanisJsonCompatibleResponse()
-
-
-
Method Detail
-
getResponseCode
Status getResponseCode() throws java.io.IOException
- Throws:
java.io.IOException
-
getInputStream
java.io.InputStream getInputStream() throws java.io.IOException- Throws:
java.io.IOException
-
getErrorStream
java.io.InputStream getErrorStream() throws java.io.IOException- Throws:
java.io.IOException
-
isJsonCompatibleResponse
boolean isJsonCompatibleResponse()
-
getContentType
java.lang.String getContentType()
-
getRequestedUri
java.net.URI getRequestedUri()
-
-