| java.lang.Object org.apache.axis2.transport.http.util.URLTemplatingUtil
URLTemplatingUtil | public class URLTemplatingUtil (Code) | | This util is used on the client side for creating the URL's for all request (WSDL 2.0 allws to
change the URL's of SOAP messages too). It resolves WSDL 2.0 httplocation property and also
append parameters to URL's when needed.
|
Method Summary | |
public static URL | appendQueryParameters(MessageContext messageContext, URL url) | public static URL | getTemplatedURL(URL targetURL, MessageContext messageContext, boolean detach) Returns the templated URL given the original URL
Parameters: targetURL - - The original URL Parameters: messageContext - - The MessageContext of the request Parameters: detach - - Boolean value specifying whether the element should be detached from theenvelop. |
appendQueryParameters | public static URL appendQueryParameters(MessageContext messageContext, URL url) throws AxisFault(Code) | | Appends Query parameters to the URL
Parameters: messageContext - - The MessageContext of the request Parameters: url - - Original url string String containing the appended query parameters |
getTemplatedURL | public static URL getTemplatedURL(URL targetURL, MessageContext messageContext, boolean detach) throws AxisFault(Code) | | Returns the templated URL given the original URL
Parameters: targetURL - - The original URL Parameters: messageContext - - The MessageContext of the request Parameters: detach - - Boolean value specifying whether the element should be detached from theenvelop. When serializing data as application/x-form-urlencoded what goes in the body is theremainder and therefore we should detach the element from the envelop. The templated URL throws: AxisFault - - Thrown in case an exception occurs |
|
|