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 GlassFishValvepublic int invoke(Request request, Response response) throws IOException, javax.servlet.ServletException
invoke in interface GlassFishValverequest - The request to processresponse - The response to returnINVOKE_NEXT or END_PIPELINEIOException - 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
GlassFishValvePerform post-request processing as required by this Valve.
postInvoke in interface GlassFishValverequest - 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 © 2019. All rights reserved.