|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.dispatch.ServletInvocation
public class ServletInvocation
A repository for request information gleaned from the uri.
| Constructor Summary | |
|---|---|
ServletInvocation()
Creates a new invocation |
|
| Method Summary | |
|---|---|
void |
copyFrom(ServletInvocation invocation)
Copies from the invocation. |
boolean |
doResume(ServletRequest request,
ServletResponse response)
Resume a request. |
java.lang.ClassLoader |
getClassLoader()
Gets the class loader. |
java.lang.String |
getContextPath()
Returns the mapped context-path. |
static ServletRequest |
getContextRequest()
Returns the thread request. |
java.lang.String |
getContextURI()
Returns the URI tail, i.e. |
FilterChain |
getFilterChain()
Gets the filter chain |
java.lang.String |
getPathInfo()
Returns the mapped path info. |
java.lang.String |
getQueryString()
Returns the query string. |
long |
getRequestCount()
Returns the number of requests. |
java.util.HashMap<java.lang.String,java.lang.String> |
getSecurityRoleMap()
Gets the security role map. |
java.lang.String |
getServletName()
Gets the servlet name |
java.lang.String |
getServletPath()
Returns the mapped servlet path. |
void |
service(ServletRequest request,
ServletResponse response)
Service a request. |
void |
setClassLoader(java.lang.ClassLoader loader)
Sets the class loader. |
void |
setContextPath(java.lang.String path)
Sets the context-path. |
void |
setContextURI(java.lang.String contextURI)
|
void |
setFilterChain(FilterChain chain)
Sets the filter chain |
void |
setPathInfo(java.lang.String pathInfo)
Sets the mapped path info |
void |
setQueryString(java.lang.String queryString)
Returns the query string. |
void |
setSecurityRoleMap(java.util.HashMap<java.lang.String,java.lang.String> roleMap)
Sets the security role map. |
void |
setServletName(java.lang.String servletName)
Sets the servlet name |
void |
setServletPath(java.lang.String servletPath)
Sets the mapped servlet path. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ServletInvocation()
contextUri - the section of the URI after the context path| Method Detail |
|---|
public final java.lang.String getContextPath()
public void setContextPath(java.lang.String path)
public void setContextURI(java.lang.String contextURI)
public final java.lang.String getContextURI()
public final java.lang.String getServletPath()
public void setServletPath(java.lang.String servletPath)
public final java.lang.String getPathInfo()
public void setPathInfo(java.lang.String pathInfo)
public final java.lang.String getQueryString()
public final void setQueryString(java.lang.String queryString)
public void setClassLoader(java.lang.ClassLoader loader)
public java.lang.ClassLoader getClassLoader()
public void setServletName(java.lang.String servletName)
public java.lang.String getServletName()
public void setFilterChain(FilterChain chain)
public FilterChain getFilterChain()
public java.util.HashMap<java.lang.String,java.lang.String> getSecurityRoleMap()
public void setSecurityRoleMap(java.util.HashMap<java.lang.String,java.lang.String> roleMap)
public long getRequestCount()
public static ServletRequest getContextRequest()
public void service(ServletRequest request,
ServletResponse response)
throws java.io.IOException,
ServletException
request - the servlet requestresponse - the servlet response
java.io.IOException
ServletException
public boolean doResume(ServletRequest request,
ServletResponse response)
throws java.io.IOException,
ServletException
request - the servlet requestresponse - the servlet response
java.io.IOException
ServletExceptionpublic void copyFrom(ServletInvocation invocation)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||