Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.caucho.http.security
Class ForbidHost

    java.lang.Object
      |
      +--com.caucho.http.security.ForbidHost

public class ForbidHost
extends java.lang.Object

A class to forbid hosts by IP.

Constructor Summary
`ForbidHost()`

Method Summary
`void` | `addForbidIP(java.lang.String addrName)` Adds a forbidden host.
`void` | `init()` Initialize the forbidden host.
`boolean` | `isForbidden(java.net.InetAddress addr)` Returns true if the host is forbidden.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ForbidHost

    public ForbidHost()

Method Detail

### addForbidIP

    public void addForbidIP(java.lang.String addrName)

  Adds a forbidden host.

### init

    public void init()

  Initialize the forbidden host.

### isForbidden

    public boolean isForbidden(java.net.InetAddress addr)

  Returns true if the host is forbidden.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD