javax.servlet
Interface SessionCookieConfig


public interface SessionCookieConfig

Since:
Servlet 3.0 $Id: SessionCookieConfig.java 881567 2009-11-17 22:13:30Z markt $ TODO SERVLET3 - Add comments

Method Summary
 String getComment()
           
 String getDomain()
           
 int getMaxAge()
           
 String getName()
           
 String getPath()
           
 boolean isHttpOnly()
           
 boolean isSecure()
           
 void setComment(String comment)
           
 void setDomain(String domain)
           
 void setHttpOnly(boolean httpOnly)
           
 void setMaxAge(int MaxAge)
          Sets the maximum age.
 void setName(String name)
           
 void setPath(String path)
           
 void setSecure(boolean secure)
           
 

Method Detail

setName

void setName(String name)
Parameters:
name -
Throws:
IllegalStateException

getName

String getName()

setDomain

void setDomain(String domain)
Parameters:
domain -
Throws:
IllegalStateException

getDomain

String getDomain()

setPath

void setPath(String path)
Parameters:
path -
Throws:
IllegalStateException

getPath

String getPath()

setComment

void setComment(String comment)
Parameters:
comment -
Throws:
IllegalStateException

getComment

String getComment()

setHttpOnly

void setHttpOnly(boolean httpOnly)
Parameters:
httpOnly -
Throws:
IllegalStateException

isHttpOnly

boolean isHttpOnly()

setSecure

void setSecure(boolean secure)
Parameters:
secure -
Throws:
IllegalStateException

isSecure

boolean isSecure()

setMaxAge

void setMaxAge(int MaxAge)
Sets the maximum age.

Parameters:
MaxAge - the maximum age to set
Throws:
IllegalStateException

getMaxAge

int getMaxAge()

(Built by coreservlets)

As of July 2010, there were no online versions of the servlet 3.0, JSP 2.2, and EL 2.2 Javadocs, except as part of the huge Java EE 6 API. So, I built them myself from the Tomcat 7 source code.

Java EE TutorialsJava EE Training