Java Reference
In-Depth Information
The parseQueryString() method takes the passed-in query string and parses it into a hash
table of key/value pairs where the values are arrays of strings. parseQueryString() throws no
exceptions.
It has one parameter:
java.lang.String
It returns this value:
java.util.Hashtable
The parsePostData() Method
public static java.util.Hashtable
parsePostData(int len,
ServletInputStream in)
The parsePostData() method takes HTML from data that is sent to the server as a POST
request, parses it, and returns a hash table of key/value pairs. If keys have multiple values, their
values are stored as an array of strings. parsePostData() throws no exceptions.
It has two parameters:
int
ServletInputStream
It returns this value:
java.util.Hashtable
The getRequestURL() Method
public static java.lang.StringBuffer
getRequestURL(HttpServletRequest request)
The getRequestURL() method takes a request object and reconstructs the URL used by the
client to make the request. getRequestURL() throws no exceptions.
It has one parameter:
HttpServletRequest
It returns this value:
java.lang.StringBuffer
Search WWH ::




Custom Search