Uses of Class
javax.servlet.http.Cookie

Packages that use Cookie
Package
Description
 
  • Uses of Cookie in javax.servlet.http

    Methods in javax.servlet.http that return Cookie
    Modifier and Type
    Method
    Description
    HttpServletRequest.getCookies()
    Returns an array containing all of the Cookie objects the client sent with this request.
    HttpServletRequestWrapper.getCookies()
    The default behavior of this method is to return getCookies() on the wrapped request object.
    Methods in javax.servlet.http with parameters of type Cookie
    Modifier and Type
    Method
    Description
    void
    HttpServletResponse.addCookie(Cookie cookie)
    Adds the specified cookie to the response.
    void
    HttpServletResponseWrapper.addCookie(Cookie cookie)
    The default behavior of this method is to call addCookie(Cookie cookie) on the wrapped response object.