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 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

      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()