|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.util.ServletHelper
public final class ServletHelper
Servlet utility class.
| Method Summary | |
|---|---|
static java.util.Map |
getParameterMap(org.apache.cocoon.environment.Request request)
Converts the request parameters to a map. |
static java.lang.String |
getWebappURI(org.apache.cocoon.environment.Request request)
Returns the URL inside the web application (without the context prefix). |
static java.lang.String |
getWebappURI(java.lang.String context,
java.lang.String requestUri)
Returns the URL inside the web application (without the context prefix). |
static boolean |
isUploadEnabled(org.apache.avalon.framework.service.ServiceManager manager)
Returns the value of enable-uploads in web.xml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getWebappURI(org.apache.cocoon.environment.Request request)
request - The request.
public static java.lang.String getWebappURI(java.lang.String context,
java.lang.String requestUri)
context - The context prefix.requestUri - The complete request URI.
public static java.util.Map getParameterMap(org.apache.cocoon.environment.Request request)
request - The request.
public static boolean isUploadEnabled(org.apache.avalon.framework.service.ServiceManager manager)
throws org.apache.excalibur.source.SourceNotFoundException,
org.apache.avalon.framework.service.ServiceException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException,
javax.xml.transform.TransformerException
manager - The Service Manager.
org.apache.excalibur.source.SourceNotFoundException
org.apache.avalon.framework.service.ServiceException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
javax.xml.transform.TransformerException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||