public final class RemoteAddrValve extends RequestFilterValve
RequestFilterValve that filters
based on the string representation of the remote client's IP address.allow, allows, denies, denycontainer, controller, debug, domain, lifecycle, log, next, oname, rb, startedAFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENTEND_PIPELINE, INVOKE_NEXT| Constructor and Description |
|---|
RemoteAddrValve() |
| Modifier and Type | Method and Description |
|---|---|
String |
getInfo()
Return descriptive information about this Valve implementation.
|
int |
invoke(Request request,
Response response)
Extract the desired request property, and pass it (along with the
specified request and response objects) to the protected
process() method to perform the actual filtering. |
getAllow, getDeny, precalculate, process, setAllow, setDenyaddLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getContainer, getController, getDebug, getDomain, getNext, getObjectName, getParentName, invoke, isStarted, postInvoke, removeLifecycleListener, setContainer, setController, setDebug, setNext, setObjectName, start, stoppublic String getInfo()
getInfo in interface ValvegetInfo in interface GlassFishValvegetInfo in class RequestFilterValvepublic int invoke(Request request, Response response) throws IOException, javax.servlet.ServletException
process() method to perform the actual filtering.
This method must be implemented by a concrete subclass.invoke in interface GlassFishValveinvoke in class RequestFilterValverequest - The servlet request to be processedresponse - The servlet response to be createdINVOKE_NEXT or END_PIPELINEIOException - if an input/output error occursjavax.servlet.ServletException - if a servlet error occursCopyright © 2017. All rights reserved.