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 -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.group.ChannelMatcher
List<io.netty.handler.codec.http.cors.CorsConfig>
io.netty.channel.ChannelInboundHandler
io.netty.channel.ChannelOutboundHandler
io.netty.channel.ChannelInitializer<io.netty.channel.Channel>
Returns Netty Channel Initializer for REST.int
protected void
void
stop()
-
Constructor Details
-
RestServer
public RestServer()
-
-
Method Details
-
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
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
-