|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.khubla.pragmatach.framework.api.Request
public class Request
| Constructor Summary | |
|---|---|
Request(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Route.HttpMethod method,
javax.servlet.ServletConfig servletConfig)
ctor |
|
| Method Summary | |
|---|---|
Cookies |
getCookies()
|
long |
getCreationTime()
|
Headers |
getHeaders()
|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
|
InputStream |
getInputStream()
|
Route.HttpMethod |
getMethod()
|
Map<String,String[]> |
getParameters()
parameters |
String |
getPostBody()
get the HTTP POST body |
String |
getResourcePath()
get the resource path, taking off the servlet context path |
javax.servlet.ServletConfig |
getServletConfig()
|
javax.servlet.ServletContext |
getServletContext()
servlet context |
javax.servlet.http.HttpSession |
getSession()
session |
String |
getURI()
URI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Request(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse,
Route.HttpMethod method,
javax.servlet.ServletConfig servletConfig)
| Method Detail |
|---|
public Cookies getCookies()
public long getCreationTime()
public Headers getHeaders()
public javax.servlet.http.HttpServletRequest getHttpServletRequest()
public InputStream getInputStream()
throws PragmatachException
PragmatachExceptionpublic Route.HttpMethod getMethod()
public Map<String,String[]> getParameters()
public String getPostBody()
throws PragmatachException
PragmatachException
public String getResourcePath()
throws PragmatachException
PragmatachExceptionpublic javax.servlet.ServletConfig getServletConfig()
public javax.servlet.ServletContext getServletContext()
public javax.servlet.http.HttpSession getSession()
public String getURI()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||