public class RestURIParserImpl extends Object implements RestURIParser
| Constructor and Description |
|---|
RestURIParserImpl(String uriString) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpoint()
This method returns the decoded endpoint of the URI.
|
String |
getQuery()
This method returns the decoded query of the URI.
|
String |
getResourceName()
This method returns the resource name.
|
String |
getResourcePath()
This method returns the decoded path of the URI.
|
String |
getScheme()
This method returns the scheme of the URI if there is one, otherwise empty space.
|
public RestURIParserImpl(String uriString) throws MalformedURLException
MalformedURLExceptionpublic String getEndpoint()
RestURIParsergetEndpoint in interface RestURIParserpublic String getResourceName()
RestURIParsergetResourceName in interface RestURIParserpublic String getScheme()
URIParserpublic String getResourcePath()
URIParsergetResourcePath in interface URIParserCopyright © 2019. All Rights Reserved.