public class Invocation extends ServletInvocation implements Dependency
| Constructor and Description |
|---|
Invocation() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(Invocation invocation)
Copies from the invocation.
|
boolean |
equals(java.lang.Object o)
Checks for equality
|
Dependency |
getDependency()
Returns the dependency list.
|
java.lang.String |
getHost()
Returns the raw host from the protocol.
|
java.lang.String |
getHostName()
Returns canonical host name.
|
int |
getPort()
Returns canonical port
|
java.lang.String |
getRawURI()
Returns the raw URI from the protocol before any normalization.
|
Invocation |
getRequestInvocation(HttpServletRequestImpl request)
Returns the versioned invocation based on this request.
|
java.lang.String |
getSessionId()
Returns a URL-based session id.
|
java.lang.String |
getURI()
Returns the URI after normalization, e.g.
|
int |
getURLLength()
Returns the raw URI length.
|
WebApp |
getWebApp()
Returns the mapped webApp.
|
int |
hashCode()
Returns the invocation's hash code.
|
boolean |
isModified()
Returns true if the invocation has been modified.
|
boolean |
isSecure()
Returns the secure flag
|
boolean |
logModified(java.util.logging.Logger log)
Log the reason for modification.
|
void |
setDependency(Dependency dependency)
Sets the dependency.
|
void |
setHost(java.lang.String host)
Sets the protocol's host.
|
void |
setHostName(java.lang.String hostName)
Sets the protocol's host.
|
void |
setPort(int port)
Sets the canonical port
|
void |
setRawURI(java.lang.String uri)
Sets the raw URI from the protocol before any normalization.
|
void |
setSecure(boolean isSecure)
Sets the secure flag
|
void |
setSessionId(java.lang.String sessionId)
Sets the URL-based session id.
|
void |
setURI(java.lang.String uri)
Sets the URI after normalization.
|
void |
setWebApp(WebApp app)
Sets the mapped webApp.
|
java.lang.String |
toString() |
clearAsyncSupported, copyFrom, getClassLoader, getContextPath, getContextRequest, getContextURI, getFilterChain, getMultipartConfig, getPathInfo, getQueryString, getRequestCount, getSecurityRoleMap, getServletName, getServletPath, isAsyncSupported, service, setClassLoader, setContextPath, setContextURI, setFilterChain, setMultipartConfig, setPathInfo, setQueryString, setSecurityRoleMap, setServletName, setServletPathpublic final boolean isSecure()
public final void setSecure(boolean isSecure)
public final java.lang.String getHost()
public final void setHost(java.lang.String host)
public final java.lang.String getHostName()
public final void setHostName(java.lang.String hostName)
public final int getPort()
public final void setPort(int port)
public final java.lang.String getRawURI()
public final void setRawURI(java.lang.String uri)
public int getURLLength()
public final java.lang.String getURI()
public final void setURI(java.lang.String uri)
public final java.lang.String getSessionId()
public final void setSessionId(java.lang.String sessionId)
public final WebApp getWebApp()
public void setWebApp(WebApp app)
public void setDependency(Dependency dependency)
public Dependency getDependency()
public boolean isModified()
isModified in interface Dependencypublic boolean logModified(java.util.logging.Logger log)
logModified in interface Dependencypublic Invocation getRequestInvocation(HttpServletRequestImpl request)
request - the servlet requestpublic void copyFrom(Invocation invocation)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class ServletInvocation