com.caucho.server.dispatch
Class VersionInvocation

java.lang.Object
  extended by com.caucho.server.dispatch.ServletInvocation
      extended by com.caucho.server.dispatch.Invocation
          extended by com.caucho.server.dispatch.VersionInvocation
All Implemented Interfaces:
Dependency

public class VersionInvocation
extends Invocation

A repository for request information gleaned from the uri.


Constructor Summary
VersionInvocation(Invocation invocation, WebApp webApp, Invocation oldInvocation, WebApp oldWebApp, long expireTime)
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for equality
 Invocation getRequestInvocation(HttpServletRequestImpl request)
          Returns the versioned invocation based on this request.
 int hashCode()
          Returns the invocation's hash code.
 boolean isModified()
          Returns true if the invocation has been modified.
 boolean logModified(java.util.logging.Logger log)
          Log the reason for modification.
 
Methods inherited from class com.caucho.server.dispatch.Invocation
copyFrom, getDependency, getHost, getHostName, getPort, getRawURI, getSessionId, getURI, getURLLength, getWebApp, isSecure, setDependency, setHost, setHostName, setPort, setRawURI, setSecure, setSessionId, setURI, setWebApp, toString
 
Methods inherited from class com.caucho.server.dispatch.ServletInvocation
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, setServletPath
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionInvocation

public VersionInvocation(Invocation invocation,
                         WebApp webApp,
                         Invocation oldInvocation,
                         WebApp oldWebApp,
                         long expireTime)
Method Detail

isModified

public boolean isModified()
Returns true if the invocation has been modified. Generally only true if the webApp has been modified.

Specified by:
isModified in interface Dependency
Overrides:
isModified in class Invocation

logModified

public boolean logModified(java.util.logging.Logger log)
Log the reason for modification.

Specified by:
logModified in interface Dependency
Overrides:
logModified in class Invocation

getRequestInvocation

public Invocation getRequestInvocation(HttpServletRequestImpl request)
Returns the versioned invocation based on this request.

Overrides:
getRequestInvocation in class Invocation
Parameters:
request - the servlet request

hashCode

public int hashCode()
Returns the invocation's hash code.

Overrides:
hashCode in class Invocation

equals

public boolean equals(java.lang.Object o)
Checks for equality

Overrides:
equals in class Invocation