javax.servlet
Class SessionCookieConfig

java.lang.Object
  extended by javax.servlet.SessionCookieConfig

public class SessionCookieConfig
extends java.lang.Object

Configuration for cookie handling

Since:
servlet 3.0

Constructor Summary
SessionCookieConfig(java.lang.String domain, java.lang.String path, java.lang.String comment, boolean isHttpOnly, boolean isSecure)
          Create the new configuration.
 
Method Summary
 java.lang.String getComment()
          Returns the default cookie comment
 java.lang.String getDomain()
          Returns the default cookie domain
 java.lang.String getPath()
          Returns the default cookie path
 boolean isHttpOnly()
          Returns the default cookie HttpOnly value
 boolean isSecure()
          Returns the default cookie Secure value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionCookieConfig

public SessionCookieConfig(java.lang.String domain,
                           java.lang.String path,
                           java.lang.String comment,
                           boolean isHttpOnly,
                           boolean isSecure)
Create the new configuration.

Method Detail

getComment

public java.lang.String getComment()
Returns the default cookie comment


getDomain

public java.lang.String getDomain()
Returns the default cookie domain


getPath

public java.lang.String getPath()
Returns the default cookie path


isHttpOnly

public boolean isHttpOnly()
Returns the default cookie HttpOnly value


isSecure

public boolean isSecure()
Returns the default cookie Secure value