Package org.keycloak.http.simple
Class SimpleHttpResponse
java.lang.Object
org.keycloak.http.simple.SimpleHttpResponse
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleHttpResponse
(org.apache.http.HttpResponse response, long maxConsumedResponseSize, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
-
Constructor Details
-
SimpleHttpResponse
public SimpleHttpResponse(org.apache.http.HttpResponse response, long maxConsumedResponseSize, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getStatus
- Throws:
IOException
-
asJson
- Throws:
IOException
-
asJson
- Throws:
IOException
-
asJson
- Throws:
IOException
-
asString
- Throws:
IOException
-
getFirstHeader
- Throws:
IOException
-
getHeader
- Throws:
IOException
-
getAllHeaders
- Throws:
IOException
-
getContentType
- Throws:
IOException
-
getContentTypeCharset
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-