public class JettyUtils extends Object
| Constructor and Description |
|---|
JettyUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
concatenateForRewrite(String base,
String encodedPath,
String encodedQueryString)
Concatenate URI parts, in a way that is useful for proxy servlets.
|
static String |
getQueryParam(javax.ws.rs.core.UriInfo uriInfo,
String name,
String compatiblityName)
Returns the value of the query parameter of the given name.
|
public static String concatenateForRewrite(String base, String encodedPath, @Nullable String encodedQueryString)
base - base part of the uri, like http://example.com (no trailing slash)encodedPath - encoded path, like you would get from HttpServletRequest's getRequestURIencodedQueryString - encoded query string, like you would get from HttpServletRequest's getQueryString@Nullable public static String getQueryParam(javax.ws.rs.core.UriInfo uriInfo, String name, String compatiblityName)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.