Class RestServerConfiguration
- java.lang.Object
-
- org.infinispan.server.core.configuration.ProtocolServerConfiguration
-
- org.infinispan.rest.configuration.RestServerConfiguration
-
- All Implemented Interfaces:
BaseConfigurationInfo
,ConfigurationInfo
public class RestServerConfiguration extends ProtocolServerConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<java.lang.Integer>
COMPRESSION_LEVEL
static AttributeDefinition<java.lang.String>
CONTEXT_PATH
static ElementDefinition
ELEMENT_DEFINITION
static AttributeDefinition<ExtendedHeaders>
EXTENDED_HEADERS
static AttributeDefinition<java.lang.Integer>
MAX_CONTENT_LENGTH
-
Fields inherited from class org.infinispan.server.core.configuration.ProtocolServerConfiguration
ADMIN_OPERATION_HANDLER, attributes, DEFAULT_CACHE_NAME, HOST, IDLE_TIMEOUT, IGNORED_CACHES, IO_THREADS, NAME, PORT, RECV_BUF_SIZE, SEND_BUF_SIZE, SOCKET_BINDING, ssl, START_TRANSPORT, TCP_KEEPALIVE, TCP_NODELAY, WORKER_THREADS, ZERO_CAPACITY_NODE
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeSet
attributeDefinitionSet()
AuthenticationConfiguration
authentication()
java.lang.String
contextPath()
CorsConfiguration
cors()
EncryptionConfiguration
encryption()
ExtendedHeaders
extendedHeaders()
int
getCompressionLevel()
java.util.List<io.netty.handler.codec.http.cors.CorsConfig>
getCorsRules()
ElementDefinition
getElementDefinition()
int
maxContentLength()
java.nio.file.Path
staticResources()
java.util.List<ConfigurationInfo>
subElements()
java.lang.String
toString()
-
Methods inherited from class org.infinispan.server.core.configuration.ProtocolServerConfiguration
adminOperationsHandler, attributes, defaultCacheName, host, idleTimeout, ioThreads, name, port, recvBufSize, sendBufSize, socketBinding, ssl, startTransport, tcpKeepAlive, tcpNoDelay, workerThreads, zeroCapacityNode
-
-
-
-
Field Detail
-
EXTENDED_HEADERS
public static final AttributeDefinition<ExtendedHeaders> EXTENDED_HEADERS
-
CONTEXT_PATH
public static final AttributeDefinition<java.lang.String> CONTEXT_PATH
-
MAX_CONTENT_LENGTH
public static final AttributeDefinition<java.lang.Integer> MAX_CONTENT_LENGTH
-
COMPRESSION_LEVEL
public static final AttributeDefinition<java.lang.Integer> COMPRESSION_LEVEL
-
ELEMENT_DEFINITION
public static ElementDefinition ELEMENT_DEFINITION
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
getElementDefinition
public ElementDefinition getElementDefinition()
- Returns:
- the
ElementDefinition
of the configuration.
-
subElements
public java.util.List<ConfigurationInfo> subElements()
- Returns:
- the list of sub elements.
-
authentication
public AuthenticationConfiguration authentication()
-
encryption
public EncryptionConfiguration encryption()
-
extendedHeaders
public ExtendedHeaders extendedHeaders()
-
staticResources
public java.nio.file.Path staticResources()
-
contextPath
public java.lang.String contextPath()
-
maxContentLength
public int maxContentLength()
-
getCorsRules
public java.util.List<io.netty.handler.codec.http.cors.CorsConfig> getCorsRules()
-
cors
public CorsConfiguration cors()
-
getCompressionLevel
public int getCompressionLevel()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classProtocolServerConfiguration
-
-