A Cookie Parser in Java
Java Programming Resources home. Core Web Programming home.
Following is the source code for CookieParser and all supporting Java classes. This class parses the "Cookie:" HTTP request line and makes individual URL-decoded cookie values available in a lookup table with the name as a key. It supports having multiple values associated with the same name. Order Core Web Programming For more information and related classes, see the Guide to CGI Programming in Java or the source code archive for Core Web Programming.