|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.viewerproxy.WebProxy.HttpRequest
public static class WebProxy.HttpRequest
A wrapper around the Jetty HttpRequest, giving the simple Request interface used in our URIResolvers. Gives access to URI and posted parameters.
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.String[]> |
getParameterMap()
Get parameters from this request. |
java.net.URI |
getURI()
Get the URI from this request. |
static java.lang.String |
uriEncode(java.lang.String s)
We here replace what should be standard API functionality with an apparent kludge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.net.URI getURI()
getURI
in interface Request
IOFailure
- if the URI is invalid. This should never happen.public static java.lang.String uriEncode(java.lang.String s)
s
- the String to be encoded
public java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
getParameterMap
in interface Request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |