| Modifier and Type | Field and Description |
|---|---|
| protected boolean | checkContainersAvailable
Check if all child containers are available. |
| protected boolean | context
Will be set to true if the valve is associated with a context. |
| private static final String | |
| private String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public final String | |
| public void | invoke(Request
The servlet request to be processed request, Response The servlet response to be created response)Implements org. Perform request processing as required by this Valve. |
| protected boolean | |
| public void | |
| public final void | |
| protected void | startInternal()
Overrides org. Start this component and implement the requirements of
|
| checkContainersAvailable | back to summary |
|---|---|
| protected boolean checkContainersAvailable Check if all child containers are available. | |
| context | back to summary |
|---|---|
| protected boolean context Will be set to true if the valve is associated with a context. | |
| DOWN | back to summary |
|---|---|
| private static final String DOWN | |
| path | back to summary |
|---|---|
| private String path | |
| UP | back to summary |
|---|---|
| private static final String UP | |
| HealthCheckValve | back to summary |
|---|---|
| public HealthCheckValve() | |
| getCheckContainersAvailable | back to summary |
|---|---|
| public boolean getCheckContainersAvailable() | |
| getPath | back to summary |
|---|---|
| public final String getPath() | |
| invoke | back to summary |
|---|---|
| public void invoke(Request request, Response response) throws IOException, ServletException Implements org. Doc from org. Perform request processing as required by this Valve. An individual Valve MAY perform the following actions, in the specified order:
A Valve MUST NOT do any of the following things:
| |
| isAvailable | back to summary |
|---|---|
| protected boolean isAvailable(Container container) | |
| setCheckContainersAvailable | back to summary |
|---|---|
| public void setCheckContainersAvailable(boolean checkContainersAvailable) | |
| setPath | back to summary |
|---|---|
| public final void setPath(String path) | |
| startInternal | back to summary |
|---|---|
| protected void startInternal() throws LifecycleException Overrides org. Doc from org. Start this component and implement the requirements of
| |