com.go.teaservlet
Interface HttpContext.Cookies

Enclosing class:
HttpContext

public static interface HttpContext.Cookies

The Cookies interface provides access to the request cookies.

Version:
41 , 00/12/12
Author:
Reece Wilton

Method Summary
 javax.servlet.http.Cookie get(java.lang.String name)
          Returns a javax.servlet.http.Cookie object containing the value of the named Cookie.
 javax.servlet.http.Cookie[] getAll()
          Returns an array of javax.servlet.http.Cookie representing all of the request's cookies.
 

Method Detail

get

public javax.servlet.http.Cookie get(java.lang.String name)
Returns a javax.servlet.http.Cookie object containing the value of the named Cookie.
Parameters:
name - the name of the cookie

getAll

public javax.servlet.http.Cookie[] getAll()
Returns an array of javax.servlet.http.Cookie representing all of the request's cookies.