Class RestServerConfiguration
- java.lang.Object
-
- org.infinispan.commons.configuration.attributes.ConfigurationElement<T>
-
- org.infinispan.server.core.configuration.ProtocolServerConfiguration<RestServerConfiguration>
-
- org.infinispan.rest.configuration.RestServerConfiguration
-
- All Implemented Interfaces:
Matchable<RestServerConfiguration>
,Updatable<RestServerConfiguration>
public class RestServerConfiguration extends ProtocolServerConfiguration<RestServerConfiguration>
-
-
Field Summary
Fields Modifier and Type Field Description static AttributeDefinition<Integer>
COMPRESSION_LEVEL
static AttributeDefinition<String>
CONTEXT_PATH
static AttributeDefinition<ExtendedHeaders>
EXTENDED_HEADERS
static AttributeDefinition<Integer>
MAX_CONTENT_LENGTH
-
Fields inherited from class org.infinispan.server.core.configuration.ProtocolServerConfiguration
ADMIN_OPERATION_HANDLER, DEFAULT_CACHE_NAME, HOST, IDLE_TIMEOUT, IGNORED_CACHES, IMPLICIT_CONNECTOR, IO_THREADS, ipFilter, NAME, PORT, RECV_BUF_SIZE, SEND_BUF_SIZE, SOCKET_BINDING, ssl, START_TRANSPORT, TCP_KEEPALIVE, TCP_NODELAY, ZERO_CAPACITY_NODE
-
Fields inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, CHILDLESS, children, element, repeated
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeSet
attributeDefinitionSet()
AuthenticationConfiguration
authentication()
String
contextPath()
CorsConfiguration
cors()
EncryptionConfiguration
encryption()
ExtendedHeaders
extendedHeaders()
int
getCompressionLevel()
List<io.netty.handler.codec.http.cors.CorsConfig>
getCorsRules()
int
maxContentLength()
Path
staticResources()
String
toString()
-
Methods inherited from class org.infinispan.server.core.configuration.ProtocolServerConfiguration
adminOperationsHandler, defaultCacheName, disable, enable, host, idleTimeout, ioThreads, ipFilter, isEnabled, isImplicit, name, port, recvBufSize, sendBufSize, socketBinding, ssl, startTransport, tcpKeepAlive, tcpNoDelay, zeroCapacityNode
-
Methods inherited from class org.infinispan.commons.configuration.attributes.ConfigurationElement
attributes, child, children, children, elementName, equals, findAttribute, hashCode, isModified, list, matches, update, validateUpdate, write
-
-
-
-
Field Detail
-
EXTENDED_HEADERS
public static final AttributeDefinition<ExtendedHeaders> EXTENDED_HEADERS
-
CONTEXT_PATH
public static final AttributeDefinition<String> CONTEXT_PATH
-
MAX_CONTENT_LENGTH
public static final AttributeDefinition<Integer> MAX_CONTENT_LENGTH
-
COMPRESSION_LEVEL
public static final AttributeDefinition<Integer> COMPRESSION_LEVEL
-
-
Method Detail
-
attributeDefinitionSet
public static AttributeSet attributeDefinitionSet()
-
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 classConfigurationElement<RestServerConfiguration>
-
-