Top Description Fields Constructors Methods
org.apache.catalina.core

pack-priv final Class StandardContextValve

extends ValveBase
Class Inheritance
Imports
java.io.IOException, jakarta.servlet.RequestDispatcher, .ServletException, jakarta.servlet.http.HttpServletResponse, org.apache.catalina.Wrapper, org.apache.catalina.connector.Request, .Response, org.apache.catalina.valves.ValveBase, org.apache.coyote.ContinueResponseTiming, org.apache.tomcat.util.buf.MessageBytes, org.apache.tomcat.util.res.StringManager

Valve that implements the default basic behavior for the StandardContext container implementation.

USAGE CONSTRAINT: This implementation is likely to be useful only when processing HTTP requests.

Author
Craig R. McClanahan

Field Summary

Modifier and TypeField and Description
private static final StringManager
Inherited from org.apache.catalina.valves.ValveBase:
asyncSupportedcontainercontainerLognext

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
invoke(Request
Request to be processed
request
,
Response
Response to be produced
response
)

Implements org.apache.catalina.Valve.invoke.

Select the appropriate child Wrapper to process this request, based on the specified request URI.

Inherited from org.apache.catalina.valves.ValveBase:
backgroundProcessgetContainergetDomainInternalgetNextgetObjectNameKeyPropertiesinitInternalisAsyncSupportedsetAsyncSupportedsetContainersetNextstartInternalstopInternaltoString

Field Detail

smback to summary
private static final StringManager sm

Hides org.apache.catalina.valves.ValveBase.sm.

Constructor Detail

StandardContextValveback to summary
pack-priv StandardContextValve()

Method Detail

invokeback to summary
public void invoke(Request request, Response response) throws IOException, ServletException

Implements org.apache.catalina.Valve.invoke.

Select the appropriate child Wrapper to process this request, based on the specified request URI. If no matching Wrapper can be found, return an appropriate HTTP error.

Parameters
request:Request

Request to be processed

response:Response

Response to be produced

Annotations
@Override
Exceptions
IOException:
if an input/output error occurred
ServletException:
if a servlet error occurred