invoke() method to provide the required functionality, and MAY implement the
Lifecycle interface to provide configuration management and lifecycle support.
| Modifier and Type | Field and Description |
|---|---|
| protected boolean | asyncSupported
Does this valve support Servlet 3+ async requests? |
| protected Container | container
The Container whose pipeline this Valve is a component of. |
| protected Log | containerLog
Container log |
| protected Valve | next
The next Valve in the pipeline this Valve is a component of. |
| protected static final StringManager |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | backgroundProcess()
Implements org. Execute a periodic task, such as reloading, etc. This method will be invoked inside the classloading context of this container. |
| public Container | getContainer()
Implements org. Get the |
| public String | getDomainInternal()
Implements abstract org. Method implemented by sub-classes to identify the domain in which MBeans should be registered. |
| public Valve | getNext()
Implements org. Returns the next Valve in this pipeline, or |
| public String | getObjectNameKeyProperties()
Implements abstract org. Allow sub-classes to specify the key properties component of the
|
| protected void | initInternal()
Overrides org. Sub-classes wishing to perform additional initialization should override this method, ensuring that super.initInternal() is the first call in the overriding method. |
| public boolean | |
| public void | |
| public void | setContainer(Container
The Container instance with which this instance is to
be associated, or container)null to disassociate this instance
from any ContainerImplements org. Set the |
| public void | setNext(Valve
The new next valve, or valve)null if noneImplements org. Set the next Valve in the pipeline containing this Valve. |
| protected void | startInternal()
Implements abstract org. Start this component and implement the requirements of
|
| protected void | stopInternal()
Implements abstract org. Stop this component and implement the requirements of
|
| public String |
| asyncSupported | back to summary |
|---|---|
| protected boolean asyncSupported Does this valve support Servlet 3+ async requests? | |
| container | back to summary |
|---|---|
| protected Container container The Container whose pipeline this Valve is a component of. | |
| containerLog | back to summary |
|---|---|
| protected Log containerLog Container log | |
| next | back to summary |
|---|---|
| protected Valve next The next Valve in the pipeline this Valve is a component of. | |
| sm | back to summary |
|---|---|
| protected static final StringManager sm | |
| ValveBase | back to summary |
|---|---|
| public ValveBase() | |
| ValveBase | back to summary |
|---|---|
| public ValveBase(boolean asyncSupported) | |
| backgroundProcess | back to summary |
|---|---|
| public void backgroundProcess() Implements org. Doc from org. Execute a periodic task, such as reloading, etc. This method will be invoked inside the classloading context of this container. Unexpected throwables will be caught and logged. The default implementation is NO-OP.
| |
| getContainer | back to summary |
|---|---|
| public Container getContainer() Implements org. Doc from org. Get the | |
| getDomainInternal | back to summary |
|---|---|
| public String getDomainInternal() Implements abstract org. Doc from org. Method implemented by sub-classes to identify the domain in which MBeans should be registered. | |
| getNext | back to summary |
|---|---|
| public Valve getNext() Implements org. Doc from org. Returns the next Valve in this pipeline, or | |
| getObjectNameKeyProperties | back to summary |
|---|---|
| public String getObjectNameKeyProperties() Implements abstract org. Doc from org. Allow sub-classes to specify the key properties component of the
| |
| initInternal | back to summary |
|---|---|
| protected void initInternal() throws LifecycleException Overrides org. Doc from org. Sub-classes wishing to perform additional initialization should override this method, ensuring that super.initInternal() is the first call in the overriding method.
| |
| isAsyncSupported | back to summary |
|---|---|
| public boolean isAsyncSupported() Implements org.
| |
| setAsyncSupported | back to summary |
|---|---|
| public void setAsyncSupported(boolean asyncSupported) | |
| setContainer | back to summary |
|---|---|
| public void setContainer(Container container) Implements org. Doc from org. Set the | |
| setNext | back to summary |
|---|---|
| public void setNext(Valve valve) Implements org. Doc from org. Set the next Valve in the pipeline containing this Valve. | |
| startInternal | back to summary |
|---|---|
| protected void startInternal() throws LifecycleException Implements abstract org. Start this component and implement the requirements of
| |
| stopInternal | back to summary |
|---|---|
| protected void stopInternal() throws LifecycleException Implements abstract org. Stop this component and implement the requirements of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |