RequestPath.
| Modifier and Type | Field and Description |
|---|---|
| private final PathContainer | |
| private final PathContainer | |
| private final PathContainer |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public PathContainer | contextPath()
Implements org. |
| public List | elements()
Implements org. Separator or PathSegment.
|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| private static PathContainer | |
| public int | |
| private static PathContainer | |
| public RequestPath | modifyContextPath(String
the new context path contextPath)Implements org. RequestPath instance with a modified context path.
|
| public PathContainer | pathWithinApplication()
Implements org. |
| public String | |
| private static void | |
| public String | value()
Implements org. |
| contextPath | back to summary |
|---|---|
| private final PathContainer contextPath | |
| fullPath | back to summary |
|---|---|
| private final PathContainer fullPath | |
| pathWithinApplication | back to summary |
|---|---|
| private final PathContainer pathWithinApplication | |
| DefaultRequestPath | back to summary |
|---|---|
| pack-priv DefaultRequestPath(String rawPath, String contextPath) | |
| DefaultRequestPath | back to summary |
|---|---|
| private DefaultRequestPath(RequestPath requestPath, String contextPath) | |
| contextPath | back to summary |
|---|---|
| public PathContainer contextPath() Implements org. Doc from org. Returns the portion of the URL path that represents the application. The context path is always at the beginning of the path and starts but does not end with "/". It is shared for URLs of the same application. The context path may come from the underlying runtime API such as
when deploying as a WAR to a Servlet container or it may be assigned in
a WebFlux application through the use of
| |
| elements | back to summary |
|---|---|
| public List Implements org. Doc from org. The contained path elements, either
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| extractPathWithinApplication | back to summary |
|---|---|
| private static PathContainer extractPathWithinApplication(PathContainer fullPath, PathContainer contextPath) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initContextPath | back to summary |
|---|---|
| private static PathContainer initContextPath(PathContainer path, String contextPath) | |
| modifyContextPath | back to summary |
|---|---|
| public RequestPath modifyContextPath(String contextPath) Implements org. Doc from org. Return a new
| |
| pathWithinApplication | back to summary |
|---|---|
| public PathContainer pathWithinApplication() Implements org. Doc from org. The portion of the request path after the context path which is typically used for request mapping within the application.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| validateContextPath | back to summary |
|---|---|
| private static void validateContextPath(String fullPath, String contextPath) | |
| value | back to summary |
|---|---|
| public String value() Implements org. Doc from org. The original path from which this instance was parsed.
| |