public class DefaultRequestPath extends AbstractRequestPathMetadata implements RequestPath
RequestPath.| Constructor and Description |
|---|
DefaultRequestPath(URI baseURI,
URI requestedURI,
String requestMethod) |
| Modifier and Type | Method and Description |
|---|---|
String |
getActualPath()
Obtain defined path.
|
URI |
getBaseURI()
Application's context
URI. |
String |
getRequestMethod()
Requested HTTP method.
|
List<String> |
getRequestMethods()
Obtain defined (HTTP) request methods.
|
URI |
getRequestURI()
Actually requested
URI. |
boolean |
match(RequestPath requestPath)
Check own
RequestPath match assigned one. |
String |
toString() |
equals, hashCodepublic String getActualPath()
RequestPathMetadatagetActualPath in interface RequestPathMetadatapublic boolean match(RequestPath requestPath)
RequestPathMetadataRequestPath match assigned one.match in interface RequestPathMetadatarequestPath - RequestPathtrue - if matched RequestPathpublic String getRequestMethod()
RequestPathgetRequestMethod in interface RequestPathpublic List<String> getRequestMethods()
RequestPathMetadatagetRequestMethods in interface RequestPathMetadatapublic URI getRequestURI()
RequestPathURI.getRequestURI in interface RequestPathURIpublic URI getBaseURI()
RequestPathgetBaseURI in interface RequestPathURICopyright © 2011-2017 Analog Web Framework Development Team. All Rights Reserved.