public class FixedSegment
extends Segment
A class Segment that corresponds to a section of the path with a fixed name; e.g. the path /foo/bar contains
two fixed segments with pathPart foo and bar respectively.
class SegmentSegment.Companion| Constructor and Description |
|---|
FixedSegment(java.lang.String pathPart)
A
class Segment that corresponds to a section of the path with a fixed name; e.g. the path /foo/bar contains
two fixed segments with pathPart foo and bar respectively. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
component1() |
FixedSegment |
copy(java.lang.String pathPart)
A
class Segment that corresponds to a section of the path with a fixed name; e.g. the path /foo/bar contains
two fixed segments with pathPart foo and bar respectively. |
boolean |
equals(java.lang.Object p) |
java.lang.String |
getPathPart() |
int |
hashCode() |
java.lang.String |
toString() |
public FixedSegment(java.lang.String pathPart)
A class Segment that corresponds to a section of the path with a fixed name; e.g. the path /foo/bar contains
two fixed segments with pathPart foo and bar respectively.
class Segmentpublic java.lang.String getPathPart()
public java.lang.String component1()
public FixedSegment copy(java.lang.String pathPart)
A class Segment that corresponds to a section of the path with a fixed name; e.g. the path /foo/bar contains
two fixed segments with pathPart foo and bar respectively.
class Segmentpublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)