RestURIParser should parse the URI based on ths standard syntax components referred in http as [scheme:][//authority][path][?query][#fragment] for HTTP/HTTPS scheme
Modifiers | Name | Description |
---|---|---|
java.lang.String |
DEFAULT_SCHEME |
|
java.lang.String |
SCHEME_SEPARATOR |
Type Params | Return Type | Name and description |
---|---|---|
|
java.lang.String |
getEndpoint() This method returns the decoded endpoint of the URI. |
|
java.lang.String |
getResourceName() This method returns the resource name. |
This method returns the decoded endpoint of the URI. Endpoint is composed of [HTTP/HTTPS] followed by hostname and port.
This method returns the resource name. Resource name is taken from the path, usually the last part of the path.