| Constructor and Description |
|---|
TomcatValveAdapter(GlassFishValve gfValve)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
backgroundProcess()
Execute a periodic task, such as reloading, etc.
|
void |
event(Request request,
Response response,
CometEvent event)
Process a Comet event.
|
String |
getInfo()
Return descriptive information about this Valve implementation.
|
Valve |
getNext()
Return the next Valve in the pipeline containing this Valve, if any.
|
void |
invoke(Request request,
Response response)
Delegates to the invoke() and postInvoke() methods of the wrapped
GlassFish-style valve.
|
void |
setNext(Valve valve)
Set the next Valve in the pipeline containing this Valve.
|
public TomcatValveAdapter(GlassFishValve gfValve)
gfValve - The GlassFish-style valve to wrappublic String getInfo()
Valvepublic Valve getNext()
Valvepublic void setNext(Valve valve)
Valvepublic void backgroundProcess()
ValvebackgroundProcess in interface Valvepublic void invoke(Request request, Response response) throws IOException, javax.servlet.ServletException
invoke in interface Valverequest - The servlet request to be processedresponse - The servlet response to be createdIOException - 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 event(Request request, Response response, CometEvent event) throws IOException, javax.servlet.ServletException
Valveevent in interface Valverequest - The servlet request to be processedresponse - The servlet response to be createdIOException - 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 ServletCopyright © 2017. All rights reserved.