Package org.infinispan.rest
Class RestServer
- java.lang.Object
-
- org.infinispan.server.core.AbstractProtocolServer<RestServerConfiguration>
-
- org.infinispan.rest.RestServer
-
- All Implemented Interfaces:
org.infinispan.server.core.ProtocolServer<RestServerConfiguration>
public class RestServer extends org.infinispan.server.core.AbstractProtocolServer<RestServerConfiguration>
REST Protocol Server.- Author:
- Sebastian Ćaskawiec
-
-
Constructor Summary
Constructors Constructor Description RestServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.channel.group.ChannelMatchergetChannelMatcher()List<io.netty.handler.codec.http.cors.CorsConfig>getCorsConfigs()io.netty.channel.ChannelInboundHandlergetDecoder()io.netty.channel.ChannelOutboundHandlergetEncoder()io.netty.channel.ChannelInitializer<io.netty.channel.Channel>getInitializer()RestChannelInitializergetRestChannelInitializer()Returns Netty Channel Initializer for REST.intmaxContentLength()protected voidstartInternal()voidstop()-
Methods inherited from class org.infinispan.server.core.AbstractProtocolServer
defaultCacheName, getBlockingManager, getCacheManager, getConfiguration, getEnclosingProtocolServer, getExecutor, getHost, getName, getPort, getQualifiedName, getServerStateManager, getTransport, isCacheIgnored, isTransportEnabled, registerMetrics, registerServerMBeans, setEnclosingProtocolServer, setServerManagement, start, startCaches, startTransport, unregisterMetrics, unregisterServerMBeans
-
-
-
-
Method Detail
-
getEncoder
public io.netty.channel.ChannelOutboundHandler getEncoder()
-
getDecoder
public io.netty.channel.ChannelInboundHandler getDecoder()
-
getInitializer
public io.netty.channel.ChannelInitializer<io.netty.channel.Channel> getInitializer()
-
getChannelMatcher
public io.netty.channel.group.ChannelMatcher getChannelMatcher()
-
getRestChannelInitializer
public RestChannelInitializer getRestChannelInitializer()
Returns Netty Channel Initializer for REST.- Returns:
- Netty Channel Initializer for REST.
-
stop
public void stop()
- Specified by:
stopin interfaceorg.infinispan.server.core.ProtocolServer<RestServerConfiguration>- Overrides:
stopin classorg.infinispan.server.core.AbstractProtocolServer<RestServerConfiguration>
-
startInternal
protected void startInternal()
- Overrides:
startInternalin classorg.infinispan.server.core.AbstractProtocolServer<RestServerConfiguration>
-
maxContentLength
public int maxContentLength()
-
getCorsConfigs
public List<io.netty.handler.codec.http.cors.CorsConfig> getCorsConfigs()
-
-