AeroGear Netty SockJS Codec 0.11.0

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

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsOutboundHandler
All Implemented Interfaces:
io.netty.channel.ChannelHandler

public class CorsOutboundHandler
extends io.netty.channel.ChannelHandlerAdapter


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
CorsOutboundHandler()
           
 
Method Summary
 void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx, Throwable cause)
           
 void write(io.netty.channel.ChannelHandlerContext ctx, Object msg, io.netty.channel.ChannelPromise promise)
           
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
bind, channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelWritabilityChanged, close, connect, disconnect, flush, handlerAdded, handlerRemoved, isSharable, read, userEventTriggered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorsOutboundHandler

public CorsOutboundHandler()
Method Detail

write

public void write(io.netty.channel.ChannelHandlerContext ctx,
                  Object msg,
                  io.netty.channel.ChannelPromise promise)
           throws Exception
Specified by:
write in interface io.netty.channel.ChannelHandler
Overrides:
write in class io.netty.channel.ChannelHandlerAdapter
Throws:
Exception

exceptionCaught

public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
                            Throwable cause)
                     throws Exception
Specified by:
exceptionCaught in interface io.netty.channel.ChannelHandler
Overrides:
exceptionCaught in class io.netty.channel.ChannelHandlerAdapter
Throws:
Exception

AeroGear Netty SockJS Codec 0.11.0

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