Femto Web Server V1.4-F

dfischer.femtowebserver.httpd
Class HttpCookie

java.lang.Object
  |
  +--dfischer.femtowebserver.httpd.HttpCookie

public class HttpCookie
extends java.lang.Object

Contains the data of one single, received cookie from the agent (browser).

See Also:
HttpRequest.getReceivedCookies(), HttpRequest.getCookieValue(java.lang.String), HttpResponse.setTransientCookie(java.lang.String, java.lang.String, java.lang.String, boolean), HttpResponse.setPermanentCookie(java.lang.String, java.lang.String, java.lang.String, int, boolean)

Method Summary
 java.lang.String getName()
          Returns the name of the received cookie.
 java.lang.String getValue()
          Returns the value of the received cookie.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Returns the name of the received cookie.

Returns:
the name of the received cookie

getValue

public java.lang.String getValue()
Returns the value of the received cookie.

Returns:
the value of the received cookie or an empty string, if no value has been received.

Femto Web Server V1.4-F

Copyright 2002, 2003, 2006 by Ingenieurbüro David Fischer GmbH, Switzerland. All rights reserved.