Class SimpleHttp.Response
java.lang.Object
org.keycloak.broker.provider.util.SimpleHttp.Response
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- SimpleHttp
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Response
public Response(org.apache.http.HttpResponse response)
-
-
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
-