org.apache.hc.core5.reactor

## Class SocksProxyProtocolHandlerFactory

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

- All Implemented Interfaces:
    IOEventHandlerFactory

  Deprecated.
  Use `IOReactorConfig`. As of version 5.0.1 `createHandler(ProtocolIOSession, Object)` throws `UnsupportedOperationException`.

      @Deprecated
      public class SocksProxyProtocolHandlerFactory
      extends Object
      implements IOEventHandlerFactory

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `IOEventHandler` | `createHandler(ProtocolIOSession ioSession, Object attachment)` Deprecated.

    - ### 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

      Deprecated.
      Throws:
        `IOException`

  - ### Method Detail

    - #### createHandler

          public IOEventHandler createHandler(ProtocolIOSession ioSession,
                                              Object attachment)

      Deprecated.
      Specified by:
        `createHandler` in interface `IOEventHandlerFactory`

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