Class HttpProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.stellent.ridc.IdcClientException
oracle.stellent.ridc.protocol.ProtocolException
oracle.stellent.ridc.protocol.http.HttpProtocolException
- All Implemented Interfaces:
Serializable
Exceptions in the IdcHttpProtocol implementation
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHttpProtocolException(LocaleMessage message, int status, Map<String, String> headers) HttpProtocolException(LocaleMessage message, int status, Map<String, String> headers, String body) HttpProtocolException(LocaleMessage message, int status, Map<String, String> headers, String body, String uri) -
Method Summary
Methods inherited from class oracle.stellent.ridc.protocol.ProtocolException
isIOExceptionMethods inherited from class oracle.stellent.ridc.IdcClientException
getLocaleMessage, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HttpProtocolException
- Parameters:
message- the detail message.status- the http status codeheaders- the http headers
-
HttpProtocolException
public HttpProtocolException(LocaleMessage message, int status, Map<String, String> headers, String body) - Parameters:
message- the detail message.status- the http status codeheaders- the http headersbody- the http response body
-
HttpProtocolException
public HttpProtocolException(LocaleMessage message, int status, Map<String, String> headers, String body, String uri) - Parameters:
message- the detail message.status- the http status codeheaders- the http headersbody- the http response bodyuri- the http uri
-
-
Method Details
-
getStatus
public int getStatus()- Returns:
- the http status code
-
getHeaders
- Returns:
- the http headers
-
getBody
- Returns:
- the http response body if any
-
getUri
- Returns:
- the http uri if any
-