public class NettyContainer
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
implements org.glassfish.jersey.server.spi.Container
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_BASE_URI |
static String |
REQUEST_PROPERTY_REMOTE_ADDR |
| Constructor and Description |
|---|
NettyContainer(javax.ws.rs.core.Application application) |
NettyContainer(javax.ws.rs.core.Application application,
SecurityContextFactory securityContextFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
org.glassfish.jersey.server.ApplicationHandler |
getApplicationHandler()
Get the Jersey server-side application handler associated with the container.
|
org.glassfish.jersey.server.ResourceConfig |
getConfiguration() |
void |
invalidRequestSent(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e) |
void |
reload() |
void |
reload(org.glassfish.jersey.server.ResourceConfig configuration) |
void |
setSecurityContextFactory(SecurityContextFactory securityContextFactory) |
public static final String PROPERTY_BASE_URI
public static final String REQUEST_PROPERTY_REMOTE_ADDR
public NettyContainer(javax.ws.rs.core.Application application)
public NettyContainer(javax.ws.rs.core.Application application,
SecurityContextFactory securityContextFactory)
public void setSecurityContextFactory(SecurityContextFactory securityContextFactory)
public org.glassfish.jersey.server.ResourceConfig getConfiguration()
getConfiguration in interface org.glassfish.jersey.server.spi.Containerpublic void reload()
reload in interface org.glassfish.jersey.server.spi.Containerpublic void reload(org.glassfish.jersey.server.ResourceConfig configuration)
reload in interface org.glassfish.jersey.server.spi.Containerpublic void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
throws Exception
messageReceived in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerExceptionpublic void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
exceptionCaught in class org.jboss.netty.channel.SimpleChannelUpstreamHandlerExceptionpublic void invalidRequestSent(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
throws Exception
Exceptionpublic org.glassfish.jersey.server.ApplicationHandler getApplicationHandler()
getApplicationHandler in interface org.glassfish.jersey.server.spi.ContainerCopyright © 2015. All rights reserved.