Skip navigation links
oracle.stellent.ridc.protocol.http
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
-
public class HttpProtocolException
- extends ProtocolException
Exceptions in the IdcHttpProtocol implementation
- See Also:
- Serialized Form
HttpProtocolException
public HttpProtocolException(LocaleMessage message,
int status,
Map<String,String> headers)
-
- Parameters:
message
- the detail message.
status
- the http status code
headers
- 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 code
headers
- the http headers
body
- the http response body
getStatus
public int getStatus()
-
- Returns:
- the http status code
getHeaders
public Map<String,String> getHeaders()
-
- Returns:
- the http headers
getBody
public String getBody()
-
- Returns:
- the http response body if any
Skip navigation links
Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.