public final class AddressBlock
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AddressBlock.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static AddressBlock.Builder | 
builder()  | 
java.lang.String | 
getReason(java.lang.String ip,
         long timeout)
The reason this IP is blocked. 
 | 
boolean | 
knowsIP(java.lang.String ip)  | 
public static AddressBlock.Builder builder()
@CheckReturnValue public boolean knowsIP(java.lang.String ip)
@CheckReturnValue
 @Nullable
public java.lang.String getReason(@Nonnull
                                                               java.lang.String ip,
                                                               long timeout)
ip - the address to check.timeout - in milliseconds or negative for default timeoutstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.