Package | Description |
---|---|
org.jboss.netty.handler.ipfilter |
Implementation of a Ip based Filter handlers.
|
Modifier and Type | Class and Description |
---|---|
class |
IpSubnetFilterRule
Ip V4 and Ip V6 filter rule.
|
class |
IpV4SubnetFilterRule
IpV4 only Filter Rule
|
class |
PatternRule
The Class PatternRule represents an IP filter rule using string patterns.
|
Modifier and Type | Method and Description |
---|---|
IpFilterRule |
IpFilterRuleHandler.get(int index)
Returns the element at the specified position in this list
|
IpFilterRule |
IpFilterRuleHandler.remove(int index)
Removes the element at the specified position in this list
|
IpFilterRule |
IpFilterRuleHandler.set(int index,
IpFilterRule ipFilterRule)
Replaces the element at the specified position in this list with the specified element
|
Modifier and Type | Method and Description |
---|---|
void |
IpFilterRuleHandler.add(int index,
IpFilterRule ipFilterRule)
Add an ipFilterRule in the list at the specified position (shifting to the right other elements)
|
void |
IpFilterRuleHandler.add(IpFilterRule ipFilterRule)
Add an ipFilterRule in the list at the end
|
boolean |
IpFilterRuleHandler.addIfAbsent(IpFilterRule ipFilterRule)
Append the element if not present.
|
boolean |
IpFilterRuleHandler.contains(IpFilterRule ipFilterRule)
Returns true if this list contains the specified element
|
void |
IpFilterRuleHandler.remove(IpFilterRule ipFilterRule)
Remove the ipFilterRule from the list
|
IpFilterRule |
IpFilterRuleHandler.set(int index,
IpFilterRule ipFilterRule)
Replaces the element at the specified position in this list with the specified element
|
Modifier and Type | Method and Description |
---|---|
void |
IpFilterRuleHandler.addAll(Collection<IpFilterRule> c)
Appends all of the elements in the specified collection to the end of this list,
in the order that they are returned by the specified collection's iterator.
|
void |
IpFilterRuleHandler.addAll(int index,
Collection<IpFilterRule> c)
Inserts all of the elements in the specified collection into this list, starting at the specified position.
|
int |
IpFilterRuleHandler.addAllAbsent(Collection<IpFilterRule> c)
Append the element if not present.
|
boolean |
IpFilterRuleHandler.containsAll(Collection<IpFilterRule> c)
Returns true if this list contains all of the elements of the specified collection
|
void |
IpFilterRuleHandler.removeAll(Collection<IpFilterRule> c)
Removes from this list all of its elements that are contained in the specified collection
|
void |
IpFilterRuleHandler.retainAll(Collection<IpFilterRule> c)
Retains only the elements in this list that are contained in the specified collection
|
Constructor and Description |
---|
IpFilterRuleHandler(List<IpFilterRule> newList)
Constructor from a new list of IpFilterRule
|
Copyright © 2008-2014 The Netty Project. All Rights Reserved.