org.apache.hc.core5.reactor

## Class SocksProxyProtocolHandlerFactory

- java.lang.Object
- - org.apache.hc.core5.reactor.SocksProxyProtocolHandlerFactory

- All Implemented Interfaces:
    IOEventHandlerFactory

      public class SocksProxyProtocolHandlerFactory
      extends Object
      implements IOEventHandlerFactory

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SocksProxyProtocolHandlerFactory(SocketAddress targetAddress, String username, String password, IOEventHandlerFactory eventHandlerFactory)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `IOEventHandler` | `createHandler(ProtocolIOSession ioSession, Object attachment)`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### SocksProxyProtocolHandlerFactory

          public SocksProxyProtocolHandlerFactory(SocketAddress targetAddress,
                                          String username,
                                          String password,
                                          IOEventHandlerFactory eventHandlerFactory)
                                           throws IOException

      Throws:
        `IOException`

  - ### Method Detail

    - #### createHandler

          public IOEventHandler createHandler(ProtocolIOSession ioSession,
                                     Object attachment)

      Specified by:
        `createHandler` in interface `IOEventHandlerFactory`

Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.