All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.mockserver.proxy.Proxy Maven / Gradle / Ivy

There is a newer version: 5.15.0
Show newest version
package org.mockserver.proxy;

import io.netty.util.AttributeKey;
import org.mockserver.filters.RequestLogFilter;
import org.mockserver.filters.RequestResponseLogFilter;
import org.mockserver.stop.Stoppable;

import java.net.InetSocketAddress;

/**
 * This class should not be constructed directly instead use HttpProxyBuilder to build and configure this class
 *
 * @see ProxyBuilder
 *
 * @author jamesdbloom
 */
public interface Proxy extends Stoppable {

    public static final AttributeKey HTTP_PROXY = AttributeKey.valueOf("HTTP_PROXY");
    public static final AttributeKey REQUEST_LOG_FILTER = AttributeKey.valueOf("PROXY_REQUEST_LOG_FILTER");
    public static final AttributeKey REQUEST_RESPONSE_LOG_FILTER = AttributeKey.valueOf("PROXY_REQUEST_RESPONSE_LOG_FILTER");
    public static final AttributeKey REMOTE_SOCKET = AttributeKey.valueOf("REMOTE_SOCKET");
    public static final AttributeKey HTTP_CONNECT_SOCKET = AttributeKey.valueOf("HTTP_CONNECT_SOCKET");
    public static final AttributeKey ONWARD_SSL_UNKNOWN = AttributeKey.valueOf("ONWARD_SSL_UNKNOWN");

    public boolean isRunning();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy