com.antiaction.mayhem.httpd.input
Class CookieParser

java.lang.Object
  extended by com.antiaction.mayhem.httpd.input.CookieParser

public class CookieParser
extends java.lang.Object

Parser for version 0 and 1 cookies. (rfc2109)

Version:
1.00
Author:
Nicholas Clarke

Constructor Summary
CookieParser()
           
 
Method Summary
static void main(java.lang.String[] args)
          Test method.
 java.util.List parseCookie(java.lang.String cookieStr)
          Parses a cooke header string and returns a List of Cookie objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CookieParser

public CookieParser()
Method Detail

parseCookie

public java.util.List parseCookie(java.lang.String cookieStr)
Parses a cooke header string and returns a List of Cookie objects.

Parameters:
cookieStr - cookie header string.
Returns:
List of Cookie objects.

main

public static void main(java.lang.String[] args)
Test method.

Parameters:
args - command line arguments.


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.