Package org.apache.coyote
Class UpgradeToken
- java.lang.Object
-
- org.apache.coyote.UpgradeToken
-
public final class UpgradeToken extends java.lang.ObjectToken used during the upgrade process.
-
-
Constructor Summary
Constructors Constructor Description UpgradeToken(HttpUpgradeHandler httpUpgradeHandler, ContextBind contextBind, InstanceManager instanceManager, java.lang.String protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextBindgetContextBind()Returns the context binder for this upgrade.HttpUpgradeHandlergetHttpUpgradeHandler()Returns the HTTP upgrade handler.InstanceManagergetInstanceManager()Returns the instance manager for creating servlets and filters.java.lang.StringgetProtocol()Returns the protocol name for the upgrade.
-
-
-
Constructor Detail
-
UpgradeToken
public UpgradeToken(HttpUpgradeHandler httpUpgradeHandler, ContextBind contextBind, InstanceManager instanceManager, java.lang.String protocol)
-
-
Method Detail
-
getContextBind
public ContextBind getContextBind()
Returns the context binder for this upgrade.- Returns:
- the context binder
-
getHttpUpgradeHandler
public HttpUpgradeHandler getHttpUpgradeHandler()
Returns the HTTP upgrade handler.- Returns:
- the upgrade handler
-
getInstanceManager
public InstanceManager getInstanceManager()
Returns the instance manager for creating servlets and filters.- Returns:
- the instance manager
-
getProtocol
public java.lang.String getProtocol()
Returns the protocol name for the upgrade.- Returns:
- the protocol name
-
-