Class ProxyContext

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    
    public class ProxyContext
     implements AutoCloseable
                        
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyContext(ProxyEntry proxyEntry, ProxyPoolManager proxyPoolManager, WebDriverContext driverContext)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean isEnabled()
      final Boolean isRetired()
      final Boolean isActive()
      final Boolean isReady()
      final Map<String, Object> getState()
      final ProxyEntry getProxyEntry()
      final Unit setProxyEntry(ProxyEntry proxyEntry)
      final FetchResult run(FetchTask task, SuspendFunction2<FetchTask, WebDriver, FetchResult> browseFun) Run the task with the proxy context.
      Unit maintain()
      Unit close() Block until the proxy is offline
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait