public class RestServer extends AbstractProtocolServer<RestServerConfiguration>
cacheManager, configuration, transport
Constructor and Description |
---|
RestServer() |
Modifier and Type | Method and Description |
---|---|
io.netty.channel.ChannelInboundHandler |
getDecoder()
Gets the decoder for this protocol server.
|
io.netty.channel.ChannelOutboundHandler |
getEncoder()
Gets the encoder for this protocol server.
|
io.netty.channel.ChannelInitializer<io.netty.channel.Channel> |
getInitializer()
Returns a pipeline factory
|
RestChannelInitializer |
getRestChannelInitializer()
Returns Netty Channel Initializer for REST.
|
void |
setAuthenticator(Authenticator authenticator)
Sets Authentication mechanism.
|
protected void |
startInternal(RestServerConfiguration configuration,
EmbeddedCacheManager cacheManager) |
getCacheManager, getConfiguration, getHost, getPort, getQualifiedName, getTransport, registerTransportMBean, start, startDefaultCache, startTransport, stop, unregisterTransportMBean
ignoreCache, isCacheIgnored, setIgnoredCaches, unignore
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ignoreCache, isCacheIgnored, setIgnoredCaches, unignore
public io.netty.channel.ChannelOutboundHandler getEncoder()
ProtocolServer
public io.netty.channel.ChannelInboundHandler getDecoder()
ProtocolServer
public io.netty.channel.ChannelInitializer<io.netty.channel.Channel> getInitializer()
ProtocolServer
public RestChannelInitializer getRestChannelInitializer()
public void setAuthenticator(Authenticator authenticator)
authenticator
- Authenticator
instance.protected void startInternal(RestServerConfiguration configuration, EmbeddedCacheManager cacheManager)
startInternal
in class AbstractProtocolServer<RestServerConfiguration>
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.