Sun Adapter for HTTP API

com.stc.connector.appconn.webservice.http
Class HTTPWebHeader

java.lang.Object
  extended by com.stc.connector.appconn.webservice.http.HTTPWebHeader
All Implemented Interfaces:
com.stc.connector.persistence.bpel.PersistableData

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

Version:
$Revision: 1.4 $
See Also:
PersistableData

Constructor Summary
HTTPWebHeader()
          Default constructor.
 
Method Summary
 java.lang.String getName()
          Gets the name of the header.
 java.lang.String getValue()
          Gets the value of the header.
 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 setName(java.lang.String name)
          Sets the name of the header.
 void setValue(java.lang.String value)
          Sets the value of the header.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPWebHeader

public HTTPWebHeader()
Default constructor.

Method Detail

getName

public java.lang.String getName()
Gets the name of the header.

Returns:
The name of the header.

setName

public void setName(java.lang.String name)
Sets the name of the header.

Parameters:
name - The name of the header.

getValue

public java.lang.String getValue()
Gets the value of the header.

Returns:
The value of the header.

setValue

public void setValue(java.lang.String value)
Sets the value of the header.

Parameters:
value - The value of the header.

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.