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