| java.lang.Object org.apache.lenya.util.ServletHelper
ServletHelper | final public class ServletHelper (Code) | | Servlet utility class.
|
Method Summary | |
public static Map | getParameterMap(Request request) Converts the request parameters to a map. | public static String | getWebappURI(Request request) Returns the URL inside the web application (without the context prefix).
Parameters: request - The request. | public static String | getWebappURI(String context, String requestUri) Returns the URL inside the web application (without the context prefix).
Parameters: context - The context prefix. Parameters: requestUri - The complete request URI. | public static synchronized boolean | isUploadEnabled(ServiceManager manager) Returns the value of enable-uploads in web.xml
Parameters: manager - The Service Manager. |
getParameterMap | public static Map getParameterMap(Request request)(Code) | | Converts the request parameters to a map. If a key is mapped to multiple parameters, a string
array is used as the value.
Parameters: request - The request. A map. |
getWebappURI | public static String getWebappURI(Request request)(Code) | | Returns the URL inside the web application (without the context prefix).
Parameters: request - The request. A string. |
getWebappURI | public static String getWebappURI(String context, String requestUri)(Code) | | Returns the URL inside the web application (without the context prefix).
Parameters: context - The context prefix. Parameters: requestUri - The complete request URI. A string. |
|
|