|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.common.util.URISupport
public class URISupport
| Nested Class Summary | |
|---|---|
static class |
URISupport.CompositeData
|
| Constructor Summary | |
|---|---|
URISupport()
|
|
| Method Summary | |
|---|---|
static java.net.URI |
changeScheme(java.net.URI bindAddr,
java.lang.String scheme)
|
static boolean |
checkParenthesis(java.lang.String str)
|
static java.lang.String |
createQueryString(java.util.Map options)
|
static java.net.URI |
createRemainingURI(java.net.URI originalURI,
java.util.Map params)
Creates a URI from the original URI and the remaining paramaters. |
static java.net.URI |
createURIWithQuery(java.net.URI uri,
java.lang.String query)
Creates a URI with the given query. |
int |
indexOfParenthesisMatch(java.lang.String str)
|
static URISupport.CompositeData |
parseComposite(java.net.URI uri)
|
static java.util.Map |
parseParamters(java.net.URI uri)
|
static java.util.Map |
parseQuery(java.lang.String uri)
|
static java.net.URI |
removeQuery(java.net.URI uri)
Removes any URI query from the given URI. |
static java.lang.String |
stripPrefix(java.lang.String value,
java.lang.String prefix)
|
static java.net.URI |
stripScheme(java.net.URI uri)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URISupport()
| Method Detail |
|---|
public static java.util.Map parseQuery(java.lang.String uri)
throws java.net.URISyntaxException
java.net.URISyntaxException
public static java.util.Map parseParamters(java.net.URI uri)
throws java.net.URISyntaxException
java.net.URISyntaxException
public static java.net.URI removeQuery(java.net.URI uri)
throws java.net.URISyntaxException
Removes any URI query from the given URI.
uri - the given URI.
java.net.URISyntaxException
public static java.net.URI createURIWithQuery(java.net.URI uri,
java.lang.String query)
throws java.net.URISyntaxException
Creates a URI with the given query.
uri - the given URI.query - the query URI to add.
java.net.URISyntaxException
public static URISupport.CompositeData parseComposite(java.net.URI uri)
throws java.net.URISyntaxException
java.net.URISyntaxException
public static java.lang.String stripPrefix(java.lang.String value,
java.lang.String prefix)
public static java.net.URI stripScheme(java.net.URI uri)
throws java.net.URISyntaxException
java.net.URISyntaxException
public static java.lang.String createQueryString(java.util.Map options)
throws java.net.URISyntaxException
java.net.URISyntaxException
public static java.net.URI createRemainingURI(java.net.URI originalURI,
java.util.Map params)
throws java.net.URISyntaxException
Creates a URI from the original URI and the remaining paramaters.
originalURI - the original URI to populate.params - the params map to add in the URI.
java.net.URISyntaxException
public static java.net.URI changeScheme(java.net.URI bindAddr,
java.lang.String scheme)
throws java.net.URISyntaxException
java.net.URISyntaxExceptionpublic static boolean checkParenthesis(java.lang.String str)
public int indexOfParenthesisMatch(java.lang.String str)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||