public class RESTUtils extends Object
Constructor and Description |
---|
RESTUtils() |
Modifier and Type | Method and Description |
---|---|
static List<RESTDispatcher> |
getDispatchers() |
static String |
getFullRequestPath(MessageContext synCtx) |
static String |
getSubRequestPath(MessageContext synCtx) |
static void |
populateQueryParamsToMessageContext(MessageContext synCtx)
Populate Message context properties for the query parameters extracted from the url
|
static String |
trimSlashes(String url) |
static String |
trimTrailingSlashes(String url) |
public static String getFullRequestPath(MessageContext synCtx)
public static void populateQueryParamsToMessageContext(MessageContext synCtx)
synCtx
- MessageContext of the requestpublic static String getSubRequestPath(MessageContext synCtx)
public static List<RESTDispatcher> getDispatchers()
Copyright © 2005–2019 Apache Software Foundation. All rights reserved.