List of usage examples for org.apache.http.nio.protocol HttpAsyncRequestHandler interface-usage
From source file com.mycompany.allasync.NHttpRequestHandler.java
public class NHttpRequestHandler implements HttpAsyncRequestHandler<HttpRequest> { private final File docRoot; public NHttpRequestHandler(final File docRoot) { super();
From source file talkeeg.server.BarcodeProvider.java
/**
* http handler which provide barcode data as png file <p/>
* <p/>
* Created by wayerr on 05.02.15.
*/
@Singleton
From source file org.opcfoundation.ua.transport.https.HttpsServerEndpointHandler.java
public class HttpsServerEndpointHandler implements HttpAsyncRequestHandler<HttpRequest> { /** Logger */ private final static Logger logger = LoggerFactory.getLogger(HttpsServerEndpointHandler.class); /** The endpoint binding */
From source file com.bytelightning.opensource.pokerface.RequestHandler.java
/**
* Analyzes each new request from a client (the content of which will not yet be fully received),
* checks for a matching JavaScript endpoint and invokes it's <code>inspectRequest</code> method if it exist,
* analyzes the script response (and if appropriate delegates further processing to the script),
* otherwise resolves the remote Target (if any),
* and finally creates either a <code>RequestForScriptConsumer</code> or a <code>RequestForTargetConsumer</code> to actually consume the request.