public final class RemoteAddrValve extends RequestFilterValve
RequestFilterValve
that filters
based on the string representation of the remote client's IP address.allow, allows, denies, deny
Constructor and Description |
---|
RemoteAddrValve() |
Modifier and Type | Method and Description |
---|---|
String |
getInfo()
Return descriptive information about this Valve implementation.
|
void |
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, setDeny
backgroundProcess, createObjectName, event, getContainer, getContainerName, getController, getDomain, getNext, getObjectName, getParentName, postDeregister, postRegister, preDeregister, preRegister, setContainer, setController, setNext, setObjectName, toString
public String getInfo()
getInfo
in interface Valve
getInfo
in class RequestFilterValve
public void 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 Valve
invoke
in class RequestFilterValve
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 © 2018 JBoss by Red Hat. All rights reserved.