Package dk.netarkivet.viewerproxy
Interface Request
-
- All Known Implementing Classes:
WebProxy.HttpRequest
public interface Request
The Request interface is a very minimal version of a HTTP request. We use this to decouple the main parts of the proxy server from a given implementation.This should be kept to a proper subset of javax.servlet.ServletRequest
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String[]>
getParameterMap()
Get all parameters in this request.java.net.URI
getURI()
Get the URI from this request.
-
-
-
Method Detail
-
getURI
java.net.URI getURI()
Get the URI from this request.- Returns:
- The URI from this request.
-
getParameterMap
java.util.Map<java.lang.String,java.lang.String[]> getParameterMap()
Get all parameters in this request. Note: This may only be accessible while handling the request, and invalidated when the request is handled.- Returns:
- a map from parameter names to parameter values
-
-