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 org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer>
COMPRESSION_LEVEL
static org.infinispan.commons.configuration.attributes.AttributeDefinition<String>
CONTEXT_PATH
static org.infinispan.commons.configuration.elements.ElementDefinition
ELEMENT_DEFINITION
static org.infinispan.commons.configuration.attributes.AttributeDefinition<ExtendedHeaders>
EXTENDED_HEADERS
static org.infinispan.commons.configuration.attributes.AttributeDefinition<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 org.infinispan.commons.configuration.attributes.AttributeSet
attributeDefinitionSet()
AuthenticationConfiguration
authentication()
String
contextPath()
CorsConfiguration
cors()
EncryptionConfiguration
encryption()
ExtendedHeaders
extendedHeaders()
int
getCompressionLevel()
List<io.netty.handler.codec.http.cors.CorsConfig>
getCorsRules()
org.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
int
maxContentLength()
Path
staticResources()
List<ConfigurationInfo>
subElements()
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 org.infinispan.commons.configuration.attributes.AttributeDefinition<ExtendedHeaders> EXTENDED_HEADERS
-
CONTEXT_PATH
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<String> CONTEXT_PATH
-
MAX_CONTENT_LENGTH
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> MAX_CONTENT_LENGTH
-
COMPRESSION_LEVEL
public static final org.infinispan.commons.configuration.attributes.AttributeDefinition<Integer> COMPRESSION_LEVEL
-
ELEMENT_DEFINITION
public static org.infinispan.commons.configuration.elements.ElementDefinition ELEMENT_DEFINITION
-
-
Method Detail
-
attributeDefinitionSet
public static org.infinispan.commons.configuration.attributes.AttributeSet attributeDefinitionSet()
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Returns:
- the
ElementDefinition
of the configuration.
-
subElements
public List<ConfigurationInfo> subElements()
- Returns:
- the list of sub elements.
-
authentication
public AuthenticationConfiguration authentication()
-
encryption
public EncryptionConfiguration encryption()
-
extendedHeaders
public ExtendedHeaders extendedHeaders()
-
staticResources
public Path staticResources()
-
contextPath
public String contextPath()
-
maxContentLength
public int maxContentLength()
-
getCorsRules
public List<io.netty.handler.codec.http.cors.CorsConfig> getCorsRules()
-
cors
public CorsConfiguration cors()
-
getCompressionLevel
public int getCompressionLevel()
-
toString
public String toString()
- Overrides:
toString
in classProtocolServerConfiguration
-
-