org.apache.catalina.valves

Class RemoteHostValve

public final class RemoteHostValve extends RequestFilterValve

Concrete implementation of RequestFilterValve that filters based on the remote client's host name.

Version: $Revision: 467222 $ $Date: 2006-10-24 05:17:11 +0200 (Tue, 24 Oct 2006) $

Author: Craig R. McClanahan

Method Summary
StringgetInfo()
Return descriptive information about this Valve implementation.
voidinvoke(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.

Method Detail

getInfo

public String getInfo()
Return descriptive information about this Valve implementation.

invoke

public 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. This method must be implemented by a concrete subclass.

Parameters: request The servlet request to be processed response The servlet response to be created

Throws: IOException if an input/output error occurs ServletException if a servlet error occurs

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.