Modifier and Type | Class and Description |
---|---|
static class |
PiCriterion.Builder
PiCriterion Builder.
|
Criterion.IPv6ExthdrFlags, Criterion.TcpFlags, Criterion.Type
Modifier and Type | Method and Description |
---|---|
static PiCriterion.Builder |
builder()
Returns the PiCriterion builder.
|
boolean |
equals(Object o) |
Optional<PiFieldMatch> |
fieldMatch(PiMatchFieldId fieldId)
If present, returns the field match associated with the given header field identifier.
|
Collection<PiFieldMatch> |
fieldMatches()
Returns all protocol-independent field matches defined by this criterion.
|
int |
hashCode() |
String |
toString() |
Criterion.Type |
type()
Returns the type of criterion.
|
public Collection<PiFieldMatch> fieldMatches()
public Optional<PiFieldMatch> fieldMatch(PiMatchFieldId fieldId)
fieldId
- field identifierpublic Criterion.Type type()
Criterion
public static PiCriterion.Builder builder()