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.ChannelMatcher
getChannelMatcher()
List<io.netty.handler.codec.http.cors.CorsConfig>
getCorsConfigs()
io.netty.channel.ChannelInboundHandler
getDecoder()
io.netty.channel.ChannelOutboundHandler
getEncoder()
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
getInitializer()
RestChannelInitializer
getRestChannelInitializer()
Returns Netty Channel Initializer for REST.int
maxContentLength()
protected void
startInternal()
void
stop()
-
-
-
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()
-
startInternal
protected void startInternal()
-
maxContentLength
public int maxContentLength()
-
getCorsConfigs
public List<io.netty.handler.codec.http.cors.CorsConfig> getCorsConfigs()
-
-