public class AdHocContextValve extends Object implements GlassFishValve
END_PIPELINE, INVOKE_NEXT
Constructor and Description |
---|
AdHocContextValve(WebModule context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getInfo()
Returns descriptive information about this valve.
|
int |
invoke(Request request,
Response response)
Processes the given request by passing it to the ad-hoc servlet
associated with the request path (which has been determined, by the
associated web module, to be an ad-hoc path).
|
void |
postInvoke(Request request,
Response response)
Perform post-request processing as required by this Valve.
|
public AdHocContextValve(WebModule context)
public String getInfo()
getInfo
in interface GlassFishValve
public int invoke(Request request, Response response) throws IOException, javax.servlet.ServletException
invoke
in interface GlassFishValve
request
- The request to processresponse
- The response to returnINVOKE_NEXT
or END_PIPELINE
IOException
- if an input/output error occurs, or is thrown
by a subsequently invoked Valve, Filter, or Servletjavax.servlet.ServletException
- if a servlet error occurs, or is thrown
by a subsequently invoked Valve, Filter, or Servletpublic void postInvoke(Request request, Response response) throws IOException, javax.servlet.ServletException
GlassFishValve
Perform post-request processing as required by this Valve.
postInvoke
in interface GlassFishValve
request
- The servlet request to be processedresponse
- The servlet response to be createdIOException
- if an input/output error occursjavax.servlet.ServletException
- if a servlet error occursCopyright © 2020. All rights reserved.