| 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(java.lang.Object o) |
java.util.Optional<PiFieldMatch> |
fieldMatch(PiMatchFieldId fieldId)
If present, returns the field match associated with the given header field identifier.
|
java.util.Collection<PiFieldMatch> |
fieldMatches()
Returns all protocol-independent field matches defined by this criterion.
|
int |
hashCode() |
java.lang.String |
toString() |
Criterion.Type |
type()
Returns the type of criterion.
|
public java.util.Collection<PiFieldMatch> fieldMatches()
public java.util.Optional<PiFieldMatch> fieldMatch(PiMatchFieldId fieldId)
fieldId - field identifierpublic Criterion.Type type()
Criterionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static PiCriterion.Builder builder()