Sun Adapter for HTTP API

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

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

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

This class represents a http server webresponse Cookie type.

Version:
$Version$

Constructor Summary
Cookie()
           
 
Method Summary
 java.lang.String getComment()
           
 java.lang.String getDomain()
           
 int getMaxAge()
           
 java.lang.String getName()
           
 java.lang.String getPath()
           
 boolean getSecure()
           
 java.lang.String getValue()
           
 int getVersion()
           
 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 setComment(java.lang.String comment)
           
 void setDomain(java.lang.String domain)
           
 void setMaxAge(int maxAge)
           
 void setName(java.lang.String name)
           
 void setPath(java.lang.String path)
           
 void setSecure(boolean secure)
           
 void setValue(java.lang.String value)
           
 void setVersion(int version)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cookie

public Cookie()
Method Detail

getComment

public java.lang.String getComment()

setComment

public void setComment(java.lang.String comment)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDomain

public java.lang.String getDomain()

setDomain

public void setDomain(java.lang.String domain)

getMaxAge

public int getMaxAge()

setMaxAge

public void setMaxAge(int maxAge)

getPath

public java.lang.String getPath()

setPath

public void setPath(java.lang.String path)

getSecure

public boolean getSecure()

setSecure

public void setSecure(boolean secure)

getValue

public java.lang.String getValue()

setValue

public void setValue(java.lang.String value)

getVersion

public int getVersion()

setVersion

public void setVersion(int version)

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.