public static class HttpAttribute.FieldSegment extends HttpAttribute.PathSegment
| Constructor and Description |
|---|
FieldSegment(java.lang.String fieldPath,
com.google.common.collect.ImmutableList<HttpAttribute.PathSegment> subPath) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFieldPath() |
FieldSelector |
getFieldSelector()
Gets the field this segment links to.
|
com.google.common.collect.ImmutableList<HttpAttribute.PathSegment> |
getSubPath() |
void |
setFieldSelector(FieldSelector selector)
Sets the field this segment links to.
|
java.lang.String |
syntax()
Returns the syntax of this segment.
|
toString, toSyntaxpublic FieldSegment(java.lang.String fieldPath,
com.google.common.collect.ImmutableList<HttpAttribute.PathSegment> subPath)
public java.lang.String getFieldPath()
public com.google.common.collect.ImmutableList<HttpAttribute.PathSegment> getSubPath()
public FieldSelector getFieldSelector()
public void setFieldSelector(FieldSelector selector)
public java.lang.String syntax()
HttpAttribute.PathSegmentsyntax in class HttpAttribute.PathSegment