javax.servlet.http
Class HttpUtils

java.lang.Object
  extended by javax.servlet.http.HttpUtils

public class HttpUtils
extends java.lang.Object

Generic utility functions for use in the servlet container.

Author:
Rick Knowles

Field Summary
static int MAX_PARAMETER_COUNT
           
 
Constructor Summary
HttpUtils()
           
 
Method Summary
static java.lang.StringBuffer getRequestURL(HttpServletRequest req)
          Deprecated. Reconstructs the URL the client used to make the request, using information in the HttpServletRequest object.
static java.util.Hashtable parsePostData(int len, ServletInputStream in)
          Deprecated. Parses data from an HTML form that the client sends to the server using the HTTP POST method and the application/x-www-form-urlencoded MIME type.
static java.util.Hashtable parseQueryString(java.lang.String urlEncodedParams)
          Deprecated. Parses a query string passed from the client to the server and builds a HashTable object with key-value pairs.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PARAMETER_COUNT

public static int MAX_PARAMETER_COUNT
Constructor Detail

HttpUtils

public HttpUtils()
Method Detail

getRequestURL

public static java.lang.StringBuffer getRequestURL(HttpServletRequest req)
Deprecated. Reconstructs the URL the client used to make the request, using information in the HttpServletRequest object.


parsePostData

public static java.util.Hashtable parsePostData(int len,
                                                ServletInputStream in)
Deprecated. Parses data from an HTML form that the client sends to the server using the HTTP POST method and the application/x-www-form-urlencoded MIME type.


parseQueryString

public static java.util.Hashtable parseQueryString(java.lang.String urlEncodedParams)
Deprecated. Parses a query string passed from the client to the server and builds a HashTable object with key-value pairs.



Copyright © 2013. All Rights Reserved.