public class ContainerConfig
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_URI_ENCODING |
| Constructor and Description |
|---|
ContainerConfig() |
| Modifier and Type | Method and Description |
|---|---|
static ContainerConfig |
defaultConfig() |
java.lang.String |
getServiceBasePath() |
java.lang.String |
getUriEncoding() |
boolean |
isConsolidateSetCookieHeaders() |
boolean |
isStripBasePath() |
void |
setConsolidateSetCookieHeaders(boolean consolidateSetCookieHeaders)
Tells the library to consolidate multiple Set-Cookie headers into a single Set-Cookie header with multiple, comma-separated values.
|
void |
setServiceBasePath(java.lang.String serviceBasePath)
Configures a base path that can be strippped from the request path before passing it to the frameowkr-specific implementation.
|
void |
setStripBasePath(boolean stripBasePath)
Whether this framework should strip the base path mapping specified with the
setServiceBasePath(String) method from a request before
passing it to the framework-specific implementations |
void |
setUriEncoding(java.lang.String uriEncoding)
Sets the charset used to URLEncode and Decode request paths.
|
public static final java.lang.String DEFAULT_URI_ENCODING
public static ContainerConfig defaultConfig()
public java.lang.String getServiceBasePath()
public void setServiceBasePath(java.lang.String serviceBasePath)
serviceBasePath - The base path mapping to be removed.public boolean isStripBasePath()
public void setStripBasePath(boolean stripBasePath)
setServiceBasePath(String) method from a request before
passing it to the framework-specific implementationsstripBasePath - public java.lang.String getUriEncoding()
public void setUriEncoding(java.lang.String uriEncoding)
uriEncoding - The charset. By default this is set to UTF-8public boolean isConsolidateSetCookieHeaders()
public void setConsolidateSetCookieHeaders(boolean consolidateSetCookieHeaders)
consolidateSetCookieHeaders - Whether to consolidate the cookie headers or not.Copyright © 2017. All Rights Reserved.