public class FlashPolicyHandler
extends org.jboss.netty.handler.codec.frame.FrameDecoder
Constructor and Description |
---|
FlashPolicyHandler()
Creates a handler allowing access from any domain and any port
|
FlashPolicyHandler(org.jboss.netty.buffer.ChannelBuffer policyResponse)
Create a handler with a custom XML response.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
org.jboss.netty.buffer.ChannelBuffer buffer) |
actualReadableBytes, afterAdd, afterRemove, appendToCumulation, beforeAdd, beforeRemove, channelClosed, channelDisconnected, cleanup, decodeLast, exceptionCaught, extractFrame, getMaxCumulationBufferCapacity, getMaxCumulationBufferComponents, internalBuffer, isUnfold, messageReceived, newCumulationBuffer, replace, setMaxCumulationBufferCapacity, setMaxCumulationBufferComponents, setUnfold, unfoldAndFireMessageReceived, updateCumulation
public FlashPolicyHandler()
public FlashPolicyHandler(org.jboss.netty.buffer.ChannelBuffer policyResponse)
policyResponse
- Response XML to be passed back to a connecting clientprotected java.lang.Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, org.jboss.netty.buffer.ChannelBuffer buffer) throws java.lang.Exception
decode
in class org.jboss.netty.handler.codec.frame.FrameDecoder
java.lang.Exception
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly