|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.camel.util.URISupport
public final class URISupport
URI utilities.
| Method Summary | |
|---|---|
static String |
createQueryString(Map<Object,Object> options)
|
static URI |
createRemainingURI(URI originalURI,
Map<Object,Object> params)
Creates a URI from the original URI and the remaining parameters Used by various Camel components |
static URI |
createURIWithQuery(URI uri,
String query)
Creates a URI with the given query |
static String |
normalizeUri(String uri)
Normalizes the uri by reordering the parameters so they are sorted and thus we can use the uris for endpoint matching. |
static Map<String,Object> |
parseParameters(URI uri)
|
static Map<String,Object> |
parseQuery(String uri)
|
static String |
stripPrefix(String value,
String prefix)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Map<String,Object> parseQuery(String uri)
throws URISyntaxException
URISyntaxException
public static Map<String,Object> parseParameters(URI uri)
throws URISyntaxException
URISyntaxException
public static URI createURIWithQuery(URI uri,
String query)
throws URISyntaxException
URISyntaxException
public static String stripPrefix(String value,
String prefix)
public static String createQueryString(Map<Object,Object> options)
throws URISyntaxException
URISyntaxException
public static URI createRemainingURI(URI originalURI,
Map<Object,Object> params)
throws URISyntaxException
URISyntaxException
public static String normalizeUri(String uri)
throws URISyntaxException
uri - the uri
URISyntaxException - in thrown if the uri syntax is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||