Package com.sun.java.help.impl
Class HeaderParser
java.lang.Object
com.sun.java.help.impl.HeaderParser
This class provides is useful for the nightmare of parsing multi-part
HTTP/RFC822 headers sensibly:
From a String like: 'timeout=15, max=5' create an array of Strings: { {"timeout", "15"}, {"max", "5"} } From one like: 'Basic Realm="FuzzFace" Foo="Biz Bar Baz"' create one like (no quotes in literal): { {"basic", null}, {"realm", "FuzzFace"} {"foo", "Biz Bar Baz"} } keys are converted to lower case, vals are left as is....
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HeaderParser
-
-
Method Details
-
findKey
-
findValue
-
findValue
-
findValue
-
findInt
-