Sun Adapter for Siebel EAI API

com.stc.connector.appconn.webservice.siebeleai
Class HTTPWebHeaderList

java.lang.Object
  extended by com.stc.connector.appconn.webservice.siebeleai.HTTPWebHeaderList

public class HTTPWebHeaderList
extends java.lang.Object

Header list wrapper.

Version:
$Version $

Constructor Summary
HTTPWebHeaderList()
          Creates a new instance of HTTPWebHeaderList
 
Method Summary
 int countHTTPWebHeaderList()
          Gets the count of headers in the list.
 HTTPWebHeader[] getHTTPWebHeaderList()
          Gets an array of HTTPWebHeader.
 HTTPWebHeader getHTTPWebHeaderList(int i)
          Gets an HTTPWebHeader at a specified index.
 void getHTTPWebParameterList(HTTPWebHeader[] wheaders)
          Sets an array of HTTPWebHeader.
 void persist(com.stc.connector.persistence.bpel.DataOutput dos)
          Persists (serialize) this message.
 void restore(com.stc.connector.persistence.bpel.DataInput dis)
          Restore (deserialize) this message.
 void setHTTPWebHeaderList(int i, HTTPWebHeader header)
          Sets an HTTPWebHeader at a specified index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPWebHeaderList

public HTTPWebHeaderList()
Creates a new instance of HTTPWebHeaderList

Method Detail

setHTTPWebHeaderList

public void setHTTPWebHeaderList(int i,
                                 HTTPWebHeader header)
Sets an HTTPWebHeader at a specified index.

Parameters:
i - Index to set.
header - The HTTP header.

getHTTPWebHeaderList

public HTTPWebHeader[] getHTTPWebHeaderList()
Gets an array of HTTPWebHeader.

Returns:
An array of HTTPWebHeader.

getHTTPWebParameterList

public void getHTTPWebParameterList(HTTPWebHeader[] wheaders)
Sets an array of HTTPWebHeader.

Parameters:
wheaders - An array of HTTPWebParameter to set.

getHTTPWebHeaderList

public HTTPWebHeader getHTTPWebHeaderList(int i)
Gets an HTTPWebHeader at a specified index.

Parameters:
i - Index of the header to get.
Returns:
The HTTP header at the specificed index i.

countHTTPWebHeaderList

public int countHTTPWebHeaderList()
Gets the count of headers in the list.

Returns:
The count of HTTP headers.

persist

public void persist(com.stc.connector.persistence.bpel.DataOutput dos)
             throws java.lang.Exception
Persists (serialize) this message.

Parameters:
dos - The DataOutputStream to which the Java Bean message is persisted.
Throws:
java.lang.Exception - upon error.

restore

public void restore(com.stc.connector.persistence.bpel.DataInput dis)
             throws java.lang.Exception
Restore (deserialize) this message.

Parameters:
dis - The DataInputStream from which the Java Bean message is restored.
Throws:
java.lang.Exception - upon error.

Sun Adapter for Siebel EAI API

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.