List of usage examples for io.netty.channel ChannelOutboundHandlerAdapter subclass-usage
From source file org.rzo.netty.ahessian.serialization.HessianEncoder.java
/**
* Encodes the requested {@link java.lang.Object} into a {@link ChannelBuffer}.
* A typical setup for a serialization protocol in a TCP/IP socket would be:
*
* <pre>
* {@link ChannelPipeline} pipeline = ...;
From source file org.rzo.yajsw.nettyutils.ChannelGroupFilter.java
public class ChannelGroupFilter extends ChannelOutboundHandlerAdapter { ChannelGroup _channels = new DefaultChannelGroup(GlobalEventExecutor.INSTANCE); Condition _condition; public ChannelGroupFilter(Condition condition) { _condition = condition;
From source file org.teiid.transport.ObjectEncoder.java
/**
* An encoder which serializes a Java object into a message.
* <p>
* Please note that the serialized form this encoder produces is not
* compatible with the standard {@link ObjectInputStream}. Please use
* {@link ObjectDecoder} or {@link ObjectDecoderInputStream} to ensure the
From source file org.teiid.transport.PgBackendProtocol.java
/** * Represents the messages going from Server --> PG ODBC Client * Some parts of this code is taken from H2's implementation of ODBC */ @SuppressWarnings("nls") public class PgBackendProtocol extends ChannelOutboundHandlerAdapter implements ODBCClientRemote {
From source file org.thingsplode.synapse.endpoint.handlers.ResponseIntrospector.java
/** * * @author Csaba Tamas */ @ChannelHandler.Sharable public class ResponseIntrospector extends ChannelOutboundHandlerAdapter {
From source file org.traccar.BaseProtocolEncoder.java
public abstract class BaseProtocolEncoder extends ChannelOutboundHandlerAdapter { private static final Logger LOGGER = LoggerFactory.getLogger(BaseProtocolEncoder.class); protected String getUniqueId(long deviceId) { return Context.getIdentityManager().getById(deviceId).getUniqueId();
From source file org.vertx.java.core.impl.ExceptionDispatchHandler.java
/** * @author <a href="mailto:nmaurer@redhat.com">Norman Maurer</a> */ @ChannelHandler.Sharable public class ExceptionDispatchHandler extends ChannelOutboundHandlerAdapter {
From source file org.wso2.carbon.apimgt.gateway.handlers.WebsocketOutboundHandler.java
/** * This is a handler which is actually embedded to the netty pipeline which does response path mediation */ public class WebsocketOutboundHandler extends ChannelOutboundHandlerAdapter { /* This path is left blank so that if any response path mediation needs to be done, a super class
From source file org.wso2.carbon.mss.internal.router.TestChannelHandler.java
/** * Test ChannelHandler that adds a default header to every response. */ public class TestChannelHandler extends ChannelOutboundHandlerAdapter { protected static final String HEADER_FIELD = "testHeaderField"; protected static final String HEADER_VALUE = "testHeaderValue";
From source file org.wso2.msf4j.internal.router.TestChannelHandler.java
/** * Test ChannelHandler that adds a default header to every response. */ public class TestChannelHandler extends ChannelOutboundHandlerAdapter { protected static final String HEADER_FIELD = "testHeaderField"; protected static final String HEADER_VALUE = "testHeaderValue";