List of usage examples for org.apache.http.nio NHttpClientEventHandler interface-usage
From source file org.siddhiesb.transport.http.conn.LoggingNHttpClientHandler.java
/** * Decorator class intended to transparently extend an {@link org.apache.http.nio.NHttpClientEventHandler} * with basic event logging capabilities using Commons Logging. */ class LoggingNHttpClientHandler implements NHttpClientEventHandler {
From source file org.apache.synapse.transport.utils.logging.LoggingClientEventHandler.java
/**
* A decorator (wrapper) for NHttpClientEventHandler instances. This decorator
* logs additional debug information regarding each of the events triggered on the
* actual NHttpClientEventHandler instance. Most events are logged 'before' they are
* dispatched to the wrapped NHttpClientEventHandler, but this implementation does
* not modify the event arguments by any means. In that sense this decorator is
From source file org.apache.synapse.transport.http.conn.LoggingNHttpClientHandler.java
/** * Decorator class intended to transparently extend an {@link NHttpClientEventHandler} * with basic event logging capabilities using Commons Logging. */ class LoggingNHttpClientHandler implements NHttpClientEventHandler {
From source file org.apache.http.impl.nio.client.InternalRequestExecutor.java
class InternalRequestExecutor implements NHttpClientEventHandler { private final Log log; private final NHttpClientEventHandler handler; public InternalRequestExecutor(final Log log, final NHttpClientEventHandler handler) {
From source file org.siddhiesb.transport.passthru.TargetHandler.java
/** * This class is handling events from the transport -- > client. */ public class TargetHandler implements NHttpClientEventHandler { private static Log log = LogFactory.getLog(TargetHandler.class);
From source file org.apache.synapse.transport.passthru.TargetHandler.java
private final DeliveryAgent deliveryAgent; /** Connection factory */ private ClientConnFactory connFactory; /** Configuration used by the sender */
From source file org.apache.synapse.transport.nhttp.ClientHandler.java
import java.util.concurrent.locks.ReentrantLock; /** * The client connection handler. An instance of this class is used by each IOReactor, to * process every connection. Hence this class should not store any data related to a single * connection - as this is being shared.