|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts2.RequestUtils
public class RequestUtils
Request handling utility class.
Constructor Summary | |
---|---|
RequestUtils()
|
Method Summary | |
---|---|
static String |
getServletPath(javax.servlet.http.HttpServletRequest request)
Retrieves the current request servlet path. |
static String |
getUri(javax.servlet.http.HttpServletRequest request)
Gets the uri from the request |
static Date |
parseIfModifiedSince(String headerValue)
Parse input string as date in formats defined for If-Modified-Since header, see: https://issues.apache.org/jira/browse/WW-4263 https://web.archive.org/web/20081014021349/http://rfc.net/rfc2616.html#p20 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RequestUtils()
Method Detail |
---|
public static String getServletPath(javax.servlet.http.HttpServletRequest request)
request
- the request
public static String getUri(javax.servlet.http.HttpServletRequest request)
request
- The request
public static Date parseIfModifiedSince(String headerValue)
headerValue
- value of If-Modified-Since header
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |