Java HttpClient Proxy Configuration
Java 11+ HttpClient and classic ProxySelector patterns for HTTP and SOCKS corporate egress.
Java 11+ HttpClient and classic ProxySelector patterns for HTTP and SOCKS corporate egress.
Java HttpClient
Build HttpClient with .proxy(ProxySelector.of(proxyAddress)) for HTTP proxies.
Authenticated proxies
Use Authenticator for Proxy-Authorization on corporate gateways.
SOCKS
Set Proxy.Type.SOCKS on java.net.Proxy for SOCKS endpoints.
Related: SOCKS5 auth.
Need proxies at scale?
proxies.st offers health-checked HTTP and SOCKS pools with dashboard access, API keys, and plain-text bulk feeds for pipelines.
Related guides
Rotating Proxies for Web Scraping at Scale
Rotation strategies, session stickiness, anti-bot considerations, and scraper architecture for high-volume crawling.
Bulk Proxy Lists: Formats, Parsing, and Pipeline Integration
Parse ip:port lists, validate endpoints, version snapshots, and integrate bulk proxy feeds into automation pipelines.