Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


oracle.stellent.ridc.protocol.http
Class HttpProtocolException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by oracle.stellent.ridc.IdcClientException
              extended by oracle.stellent.ridc.protocol.ProtocolException
                  extended by oracle.stellent.ridc.protocol.http.HttpProtocolException

All Implemented Interfaces:
Serializable

public class HttpProtocolException
extends ProtocolException

Exceptions in the IdcHttpProtocol implementation

See Also:
Serialized Form

Constructor Summary
HttpProtocolException(LocaleMessage message, int status, Map<String,String> headers)
           
HttpProtocolException(LocaleMessage message, int status, Map<String,String> headers, String body)
           

 

Method Summary
 String getBody()
           
 Map<String,String> getHeaders()
           
 int getStatus()
           

 

Methods inherited from class oracle.stellent.ridc.protocol.ProtocolException
isIOException

 

Methods inherited from class oracle.stellent.ridc.IdcClientException
getLocaleMessage, getMessage

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

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

Method Detail

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

Oracle® Fusion Middleware Java API Reference for Oracle WebCenter Content Remote Intradoc Client (RIDC)
11g Release 1 (11.1)

E17274-04


Copyright © 2008, 2013, Oracle and/or its affiliates. All rights reserved.