public class RestServerConfiguration extends ProtocolServerConfiguration
Modifier and Type | Field and Description |
---|---|
static AttributeDefinition<Integer> |
COMPRESSION_LEVEL |
static AttributeDefinition<String> |
CONTEXT_PATH |
static AttributeDefinition<List<io.netty.handler.codec.http.cors.CorsConfig>> |
CORS_RULES |
static AttributeDefinition<ExtendedHeaders> |
EXTENDED_HEADERS |
static AttributeDefinition<Integer> |
MAX_CONTENT_LENGTH |
ADMIN_OPERATION_HANDLER, attributes, DEFAULT_CACHE_NAME, HOST, IDLE_TIMEOUT, IGNORED_CACHES, IO_THREADS, NAME, PORT, RECV_BUF_SIZE, SEND_BUF_SIZE, ssl, START_TRANSPORT, TCP_KEEPALIVE, TCP_NODELAY, WORKER_THREADS
Modifier and Type | Method and Description |
---|---|
static AttributeSet |
attributeDefinitionSet() |
String |
contextPath() |
ExtendedHeaders |
extendedHeaders() |
int |
getCompressionLevel() |
List<io.netty.handler.codec.http.cors.CorsConfig> |
getCorsRules() |
Set<String> |
getIgnoredCaches()
Deprecated.
Use
ProtocolServerConfiguration.ignoredCaches() instead. |
int |
maxContentLength() |
String |
toString() |
adminOperationsHandler, attributes, defaultCacheName, host, idleTimeout, ignoredCaches, ioThreads, name, port, recvBufSize, sendBufSize, ssl, startTransport, tcpKeepAlive, tcpNoDelay, workerThreads
public static final AttributeDefinition<ExtendedHeaders> EXTENDED_HEADERS
public static final AttributeDefinition<String> CONTEXT_PATH
public static final AttributeDefinition<Integer> MAX_CONTENT_LENGTH
public static final AttributeDefinition<List<io.netty.handler.codec.http.cors.CorsConfig>> CORS_RULES
public static final AttributeDefinition<Integer> COMPRESSION_LEVEL
public static AttributeSet attributeDefinitionSet()
public ExtendedHeaders extendedHeaders()
@Deprecated public Set<String> getIgnoredCaches()
ProtocolServerConfiguration.ignoredCaches()
instead.public String contextPath()
public int maxContentLength()
public List<io.netty.handler.codec.http.cors.CorsConfig> getCorsRules()
public int getCompressionLevel()
public String toString()
toString
in class ProtocolServerConfiguration
Copyright © 2019 JBoss, a division of Red Hat. All rights reserved.