Example usage for org.apache.http.protocol HttpRequestHandler interface-usage

List of usage examples for org.apache.http.protocol HttpRequestHandler interface-usage

Introduction

In this page you can find the example usage for org.apache.http.protocol HttpRequestHandler interface-usage.

Usage

From source file httpscheduler.LateBindingRequestHandler.java

/**
 *
 * @author anantoni
 */
public class LateBindingRequestHandler implements HttpRequestHandler {
    private final ThreadPoolExecutor taskCommExecutor;

From source file neembuu.httpserver.VFSHandler.java

/**
 *
 * @author Shashank Tulsyan
 */
final class VFSHandler implements HttpRequestHandler {

From source file com.facebook.stetho.server.SecureHttpRequestHandler.java

public abstract class SecureHttpRequestHandler implements HttpRequestHandler {
    private static final Class<?> TAG = SecureHttpRequestHandler.class;
    private final Context mContext;

    public SecureHttpRequestHandler(Context context) {
        mContext = context;

From source file org.neo4j.ext.udc.impl.PingerHandler.java

public class PingerHandler implements HttpRequestHandler {
    private final Map<String, String> queryMap = new HashMap<String, String>();

    @Override
    public void handle(HttpRequest httpRequest, HttpResponse httpResponse, HttpContext httpContext)
            throws HttpException, IOException {

From source file org.apache.brooklyn.util.core.http.AuthHandler.java

public class AuthHandler implements HttpRequestHandler {
    private final String username;
    private final String password;
    private final byte[] responseBody;

    public AuthHandler(String username, String password, String response) {

From source file co.cask.cdap.client.rest.handlers.StreamInfoHttpRequestHandler.java

/**
 * The http request handler implementation to test client's requests to the provide information method in the REST
 * Stream API.
 */
public class StreamInfoHttpRequestHandler implements HttpRequestHandler {

From source file org.couchbase.mock.http.query.QueryServer.java

/**
 * Designed to handle fake N1QL queries
 */
public class QueryServer implements HttpRequestHandler {
    static private volatile int randNumber = new Random().nextInt();

From source file org.wso2.carbon.automation.extensions.servers.httpserver.TestRequestHandler.java

public class TestRequestHandler implements HttpRequestHandler {
    private int statusCode = HttpStatus.SC_OK;
    private String contentType = "application/xml";
    private String payload = "<test/>";
    private boolean emptyBody = false;
    private RequestInterceptor interceptor = null;

From source file httpscheduler.GenericRequestHandler.java

/**
 *
 * @author anantoni
 */
class GenericRequestHandler implements HttpRequestHandler {
    private final ThreadPoolExecutor commExecutor;

From source file org.sakaiproject.nakamura.docproxy.url.requestHandlers.MetadataRequestHandler.java

public class MetadataRequestHandler implements HttpRequestHandler {
    private static final String START_ELEMENT_PATTERN = "<document contentLength=\"%s\" contentType=\"%s\" uri=\"%s\">\n";
    private static final String DOCUMENT_ELEMENT_PATTERN = "<document contentLength=\"%s\" contentType=\"%s\" uri=\"%s\" />\n";

    private UrlDocumentResult doc;