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

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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.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
     
    void
    setEnclosingProtocolServer(org.infinispan.server.core.ProtocolServer<?> enclosingProtocolServer)
     
    protected void
     
    void
     

    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, setServerManagement, start, startCaches, startTransport, unregisterMetrics, unregisterServerMBeans

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.
    • getInvocationHelper

      public InvocationHelper getInvocationHelper()
    • 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()
    • setEnclosingProtocolServer

      public void setEnclosingProtocolServer(org.infinispan.server.core.ProtocolServer<?> enclosingProtocolServer)
      Specified by:
      setEnclosingProtocolServer in interface org.infinispan.server.core.ProtocolServer<RestServerConfiguration>
      Overrides:
      setEnclosingProtocolServer in class org.infinispan.server.core.AbstractProtocolServer<RestServerConfiguration>