public class EndpointUtil extends Object
| Constructor and Description |
|---|
EndpointUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
decodeClientURI(String clientUri)
This method provides a decoding of a client based URI.
|
static String |
decodeEndpointOperation(String endpoint,
boolean stripped)
This method returns the operation part of the supplied endpoint.
|
static String |
decodeEndpointURI(String endpoint)
This method returns the URI part of the supplied endpoint.
|
static String |
encodeClientURI(String uri)
This method provides a client based encoding of an URI.
|
static String |
encodeEndpoint(String uri,
String operation)
This method converts the supplied URI and optional operation
into an endpoint descriptor.
|
static EndpointRef |
getSourceEndpoint(Trace fragment)
This method determines the source URI that should be attributed to the supplied
fragment.
|
public static String encodeEndpoint(String uri, String operation)
uri - The URIoperation - The optional operationpublic static String decodeEndpointURI(String endpoint)
endpoint - The endpointpublic static String decodeEndpointOperation(String endpoint, boolean stripped)
endpoint - The endpointstripped - Whether brackets should be strippedpublic static String encodeClientURI(String uri)
uri - The original URIpublic static String decodeClientURI(String clientUri)
clientUri - The client URIpublic static EndpointRef getSourceEndpoint(Trace fragment)
fragment - The trace fragmentCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.