AeroGear Netty SockJS Codec 0.11.0

org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
Class CorsInboundHandler

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpRequest>
          extended by org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsInboundHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler

public class CorsInboundHandler
extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpRequest>

Handles CORS preflight requests for the sockjs-protocol.


Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable, io.netty.channel.ChannelHandler.Skip
 
Constructor Summary
CorsInboundHandler()
           
 
Method Summary
 void messageReceived(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpRequest request)
           
 
Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
bind, channelActive, channelInactive, channelReadComplete, channelRegistered, channelWritabilityChanged, close, connect, disconnect, exceptionCaught, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorsInboundHandler

public CorsInboundHandler()
Method Detail

messageReceived

public void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
                            io.netty.handler.codec.http.HttpRequest request)
                     throws Exception
Specified by:
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpRequest>
Throws:
Exception

AeroGear Netty SockJS Codec 0.11.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.