Uses of Interface
org.littleshoot.proxy.HttpProxyServerBootstrap
-
Packages that use HttpProxyServerBootstrap Package Description org.littleshoot.proxy org.littleshoot.proxy.impl -
-
Uses of HttpProxyServerBootstrap in org.littleshoot.proxy
Methods in org.littleshoot.proxy that return HttpProxyServerBootstrap Modifier and Type Method Description HttpProxyServerBootstrapHttpProxyServer. clone()Clone the existing server, with a port 1 higher and everything else the same.HttpProxyServerBootstrapHttpProxyServerBootstrap. plusActivityTracker(ActivityTracker activityTracker)Add anActivityTrackerfor tracking activity in this proxy.HttpProxyServerBootstrapHttpProxyServerBootstrap. withAcceptProxyProtocol(boolean allowProxyProtocol)Specifies if the proxy server should accept a proxy protocol header.HttpProxyServerBootstrapHttpProxyServerBootstrap. withAddress(InetSocketAddress address)Listen for incoming connections on the given address.HttpProxyServerBootstrapHttpProxyServerBootstrap. withAllowLocalOnly(boolean allowLocalOnly)Specify whether or not to only allow local connections.HttpProxyServerBootstrapHttpProxyServerBootstrap. withAllowRequestToOriginServer(boolean allowRequestToOriginServer)When true, the proxy will accept requests that appear to be directed at an origin server (i.e.HttpProxyServerBootstrapHttpProxyServerBootstrap. withAuthenticateSslClients(boolean authenticateSslClients)Specify whether or not to authenticate inbound SSL clients (only applies ifwithSslEngineSource(SslEngineSource)has been set).HttpProxyServerBootstrapHttpProxyServerBootstrap. withChainProxyManager(ChainedProxyManager chainProxyManager)Specify aChainedProxyManagerto use for chaining requests to another proxy.HttpProxyServerBootstrapHttpProxyServerBootstrap. withConnectTimeout(int connectTimeout)Specify the timeout for connecting to the upstream server on a new connection, in milliseconds.HttpProxyServerBootstrapHttpProxyServerBootstrap. withFiltersSource(HttpFiltersSource filtersSource)Specify aHttpFiltersSourceto use for filtering requests and/or responses through this proxy.HttpProxyServerBootstrapHttpProxyServerBootstrap. withIdleConnectionTimeout(int idleConnectionTimeout)Specify the timeout after which to disconnect idle connections, in seconds.HttpProxyServerBootstrapHttpProxyServerBootstrap. withListenOnAllAddresses(boolean listenOnAllAddresses)Deprecated.usewithNetworkInterface(InetSocketAddress)to avoid listening on all local addressesHttpProxyServerBootstrapHttpProxyServerBootstrap. withManInTheMiddle(MitmManager mitmManager)Specify anMitmManagerto use for making this proxy act as an SSL man in the middleHttpProxyServerBootstrapHttpProxyServerBootstrap. withMaxChunkSize(int maxChunkSize)HttpProxyServerBootstrapHttpProxyServerBootstrap. withMaxHeaderSize(int maxHeaderSize)HttpProxyServerBootstrapHttpProxyServerBootstrap. withMaxInitialLineLength(int maxInitialLineLength)HttpProxyServerBootstrapHttpProxyServerBootstrap. withName(String name)Give the server a name (used for naming threads, useful for logging).HttpProxyServerBootstrapHttpProxyServerBootstrap. withNetworkInterface(InetSocketAddress inetSocketAddress)All outgoing-communication of the proxy-instance is going' to be routed via the given network-interfaceHttpProxyServerBootstrapHttpProxyServerBootstrap. withPort(int port)Listen for incoming connections on the given port.HttpProxyServerBootstrapHttpProxyServerBootstrap. withProxyAlias(String alias)Sets the alias to use when adding Via headers to incoming and outgoing HTTP messages.HttpProxyServerBootstrapHttpProxyServerBootstrap. withProxyAuthenticator(ProxyAuthenticator proxyAuthenticator)Specify aProxyAuthenticatorto use for doing basic HTTP authentication of clients.HttpProxyServerBootstrapHttpProxyServerBootstrap. withSendProxyProtocol(boolean sendProxyProtocol)Specifies if the proxy server should send a proxy protocol header.HttpProxyServerBootstrapHttpProxyServerBootstrap. withServerGroup(ServerGroup group)Specify a customServerGroupto use for managing this server's resources and such.HttpProxyServerBootstrapHttpProxyServerBootstrap. withServerResolver(HostResolver serverResolver)Specify a customHostResolverfor resolving server addresses.HttpProxyServerBootstrapHttpProxyServerBootstrap. withSslEngineSource(SslEngineSource sslEngineSource)Specify anSslEngineSourceto use for encrypting inbound connections.HttpProxyServerBootstrapHttpProxyServerBootstrap. withThreadPoolConfiguration(ThreadPoolConfiguration configuration)Set the configuration parameters for the proxy's thread pools.HttpProxyServerBootstrapHttpProxyServerBootstrap. withThrottling(long readThrottleBytesPerSecond, long writeThrottleBytesPerSecond)Specify the read and/or write bandwidth throttles for this proxy server.HttpProxyServerBootstrapHttpProxyServerBootstrap. withTransparent(boolean transparent)Specify whether or not to run this proxy as a transparent proxy.HttpProxyServerBootstrapHttpProxyServerBootstrap. withTransportProtocol(TransportProtocol transportProtocol)Specify theTransportProtocolto use for incoming connections.HttpProxyServerBootstrapHttpProxyServerBootstrap. withUseDnsSec(boolean useDnsSec)Specify whether or not to use secure DNS lookups for outbound connections. -
Uses of HttpProxyServerBootstrap in org.littleshoot.proxy.impl
Classes in org.littleshoot.proxy.impl that implement HttpProxyServerBootstrap Modifier and Type Class Description private static classDefaultHttpProxyServer.DefaultHttpProxyServerBootstrapMethods in org.littleshoot.proxy.impl that return HttpProxyServerBootstrap Modifier and Type Method Description static HttpProxyServerBootstrapDefaultHttpProxyServer. bootstrap()Bootstrap a newDefaultHttpProxyServerstarting from scratch.static HttpProxyServerBootstrapDefaultHttpProxyServer. bootstrapFromFile(String path)Bootstrap a newDefaultHttpProxyServerusing defaults from the given file.HttpProxyServerBootstrapDefaultHttpProxyServer. clone()HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. plusActivityTracker(ActivityTracker activityTracker)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withAcceptProxyProtocol(boolean acceptProxyProtocol)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withAddress(InetSocketAddress address)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withAllowLocalOnly(boolean allowLocalOnly)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withAllowRequestToOriginServer(boolean allowRequestToOriginServer)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withAuthenticateSslClients(boolean authenticateSslClients)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withChainProxyManager(ChainedProxyManager chainProxyManager)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withConnectTimeout(int connectTimeout)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withFiltersSource(HttpFiltersSource filtersSource)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withIdleConnectionTimeout(int idleConnectionTimeout)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withListenOnAllAddresses(boolean listenOnAllAddresses)Deprecated.HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withManInTheMiddle(MitmManager mitmManager)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withMaxChunkSize(int maxChunkSize)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withMaxHeaderSize(int maxHeaderSize)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withMaxInitialLineLength(int maxInitialLineLength)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withName(String name)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withNetworkInterface(InetSocketAddress inetSocketAddress)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withPort(int port)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withProxyAlias(String alias)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withProxyAuthenticator(ProxyAuthenticator proxyAuthenticator)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withSendProxyProtocol(boolean sendProxyProtocol)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withServerGroup(ServerGroup group)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withServerResolver(HostResolver serverResolver)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withSslEngineSource(SslEngineSource sslEngineSource)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withThreadPoolConfiguration(ThreadPoolConfiguration configuration)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withThrottling(long readThrottleBytesPerSecond, long writeThrottleBytesPerSecond)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withTransparent(boolean transparent)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withTransportProtocol(TransportProtocol transportProtocol)HttpProxyServerBootstrapDefaultHttpProxyServer.DefaultHttpProxyServerBootstrap. withUseDnsSec(boolean useDnsSec)
-