com.dyuproject.web
Class RequestUtil

java.lang.Object
  extended by com.dyuproject.web.RequestUtil

public abstract class RequestUtil
extends Object

Util for reading request parameters from a PUT request. This is not needed if Jetty is used.

Author:
David Yu

Field Summary
static String POST
           
static String PUT
           
static String URL_FORM_ENCODED
           
 
Constructor Summary
RequestUtil()
           
 
Method Summary
static Map<String,String> getParams(HttpServletRequest request)
           
static Map<String,String> parsePUTParams(HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_FORM_ENCODED

public static final String URL_FORM_ENCODED
See Also:
Constant Field Values

PUT

public static final String PUT
See Also:
Constant Field Values

POST

public static final String POST
See Also:
Constant Field Values
Constructor Detail

RequestUtil

public RequestUtil()
Method Detail

getParams

public static Map<String,String> getParams(HttpServletRequest request)
                                    throws IOException
Throws:
IOException

parsePUTParams

public static Map<String,String> parsePUTParams(HttpServletRequest request)
                                         throws IOException
Throws:
IOException


Copyright © 2013. All Rights Reserved.