public class URLTemplatingUtil extends Object
Constructor and Description |
---|
URLTemplatingUtil() |
Modifier and Type | Method and Description |
---|---|
static URL |
appendQueryParameters(MessageContext messageContext,
URL url)
Appends Query parameters to the URL
|
static URL |
getTemplatedURL(URL targetURL,
MessageContext messageContext,
boolean detach)
Returns the templated URL given the original URL
|
public static URL appendQueryParameters(MessageContext messageContext, URL url) throws AxisFault
messageContext
- - The MessageContext of the requesturl
- - Original url stringAxisFault
public static URL getTemplatedURL(URL targetURL, MessageContext messageContext, boolean detach) throws AxisFault
targetURL
- - The original URLmessageContext
- - The MessageContext of the requestdetach
- - Boolean value specifying whether the element should be detached from the
envelop. When serializing data as application/x-form-urlencoded what goes in the body is the
remainder and therefore we should detach the element from the envelop.AxisFault
- - Thrown in case an exception occursCopyright © The Apache Software Foundation. All Rights Reserved.