Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.6.3)

E15033-08


com.bea.wli.sb.transports
Class RequestHeaders

java.lang.Object
  extended by com.bea.wli.sb.transports.RequestHeaders

Direct Known Subclasses:
DefaultRequestHeaders

public abstract class RequestHeaders
extends java.lang.Object

Represents a union of standard and user-defined headers in a given inbound or outbound request message. The set of standard headers is specific to each transport provider. This is an abstract class to be extended by each transport provider to implement their version of request headers.


Method Summary
 boolean containsHeader(java.lang.String name)
           
 void deleteHeader(java.lang.String name)
          removes the header with a given name
 java.lang.Object getHeader(java.lang.String name)
           
 java.util.Iterator<java.lang.String> getHeaderNames()
           
 void setHeader(java.lang.String name, java.lang.Object value)
          Sets the header with the specified name to the given value
abstract  RequestHeadersXML toXML()
           

 

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

 

Method Detail

getHeaderNames

public java.util.Iterator<java.lang.String> getHeaderNames()
Returns:
an iterator for all the header names

containsHeader

public boolean containsHeader(java.lang.String name)
Parameters:
name - header name
Returns:
whether or not a header with a given name exists

getHeader

public java.lang.Object getHeader(java.lang.String name)
Parameters:
name - header name
Returns:
the value of the header with a given name or null if it does not exist

setHeader

public void setHeader(java.lang.String name,
                      java.lang.Object value)
Sets the header with the specified name to the given value
Parameters:
name - header name
value - value to set the specified header to

deleteHeader

public void deleteHeader(java.lang.String name)
removes the header with a given name
Parameters:
name - header name

toXML

public abstract RequestHeadersXML toXML()
                                 throws TransportException
Returns:
XMLBean representation of these request headers
Throws:
TransportException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Service Bus
11g Release 1 (11.1.1.6.3)

E15033-08


Copyright © 2008, 2012, Oracle. All rights reserved.