Sun Adapter for HTTP API

com.stc.connector.otd.httpserveradapter.webservice
Class WebParameterList

java.lang.Object
  extended by com.stc.connector.otd.httpserveradapter.webservice.WebParameterList
All Implemented Interfaces:
com.stc.connector.persistence.bpel.PersistableData

public class WebParameterList
extends java.lang.Object
implements com.stc.connector.persistence.bpel.PersistableData


Constructor Summary
WebParameterList()
          Creates a new instance of WebParameterList
 
Method Summary
 int countWebParameterList()
          Gets the count of parameters in the list.
 WebNameValues[] getWebParameterList()
          Gets WebParameterList.
 WebNameValues getWebParameterList(int i)
          Gets a WebNameValues at a specified index.
 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 setWebParameterList(int i, WebNameValues param)
           
 void setWebParameterList(WebNameValues[] params)
          Sets a WebParameterList.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebParameterList

public WebParameterList()
Creates a new instance of WebParameterList

Method Detail

setWebParameterList

public void setWebParameterList(WebNameValues[] params)
Sets a WebParameterList.

Parameters:
params - The HTTP parameter list

getWebParameterList

public WebNameValues[] getWebParameterList()
Gets WebParameterList.

Returns:
The parameter list.

getWebParameterList

public WebNameValues getWebParameterList(int i)
Gets a WebNameValues at a specified index.

Parameters:
i - Index to set.
Returns:
WebNameValues pair

setWebParameterList

public void setWebParameterList(int i,
                                WebNameValues param)

countWebParameterList

public int countWebParameterList()
Gets the count of parameters in the list.

Returns:
The count of HTTP parameters.

persist

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

Specified by:
persist in interface com.stc.connector.persistence.bpel.PersistableData
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.

Specified by:
restore in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dis - The DataInputStream from which the Java Bean message is restored.
Throws:
java.lang.Exception - upon error.

Sun Adapter for HTTP API

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