public class URLTemplatingUtil
extends java.lang.Object
| Constructor and Description |
|---|
URLTemplatingUtil() |
| Modifier and Type | Method and Description |
|---|---|
static java.net.URL |
appendQueryParameters(MessageContext messageContext,
java.net.URL url)
Appends Query parameters to the URL
|
static java.net.URL |
getTemplatedURL(java.net.URL targetURL,
MessageContext messageContext,
boolean detach)
Returns the templated URL given the original URL
|
public static java.net.URL appendQueryParameters(MessageContext messageContext, java.net.URL url) throws AxisFault
messageContext - - The MessageContext of the requesturl - - Original url stringAxisFaultpublic static java.net.URL getTemplatedURL(java.net.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 © 2004-2021 The Apache Software Foundation. All Rights Reserved.