public class RequestInfo extends Object
| Constructor and Description |
|---|
RequestInfo(javax.servlet.http.HttpServletRequest request)
Construct a request info object storing information about the given
request
|
| Modifier and Type | Method and Description |
|---|---|
String |
getActualPath()
Return the servlet path that this request is for.
|
String |
getServletPath()
Return the servlet path that this request is for.
|
javax.servlet.http.HttpServletRequest |
wrapRequest(javax.servlet.http.HttpServletRequest request)
Wrap an incoming request to make it look like the request that the
constructor was called with
|
public RequestInfo(javax.servlet.http.HttpServletRequest request)
request - the request to get information frompublic String getServletPath()
public String getActualPath()
public javax.servlet.http.HttpServletRequest wrapRequest(javax.servlet.http.HttpServletRequest request)
request - the request to wrapCopyright © 2016 DuraSpace. All rights reserved.