Class 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
    • Field Summary

      • Fields inherited from class org.infinispan.server.core.AbstractProtocolServer

        adminEndpoint, cacheManager, configuration, server, transport
    • Constructor Summary

      Constructors 
      Constructor Description
      RestServer()  
    • Constructor Detail

      • RestServer

        public RestServer()
    • 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:
        stop in interface org.infinispan.server.core.ProtocolServer<RestServerConfiguration>
        Overrides:
        stop in class org.infinispan.server.core.AbstractProtocolServer<RestServerConfiguration>
      • startInternal

        protected void startInternal()
        Overrides:
        startInternal in class org.infinispan.server.core.AbstractProtocolServer<RestServerConfiguration>
      • maxContentLength

        public int maxContentLength()
      • getCorsConfigs

        public List<io.netty.handler.codec.http.cors.CorsConfig> getCorsConfigs()