Class StandardSocketFactoryProvider
java.lang.Object
org.apache.nifi.processors.standard.socket.StandardSocketFactoryProvider
- All Implemented Interfaces:
SocketFactoryProvider
Standard implementation of Socket Factory Provider support authenticated or unauthenticated SOCKS or HTTP proxies
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSocketFactory(ProxyConfiguration proxyConfiguration) Get Socket Factory returns ProxySocketFactory without credentials and BrokeredSocketFactory with credentials
-
Constructor Details
-
StandardSocketFactoryProvider
public StandardSocketFactoryProvider()
-
-
Method Details
-
getSocketFactory
Get Socket Factory returns ProxySocketFactory without credentials and BrokeredSocketFactory with credentials- Specified by:
getSocketFactoryin interfaceSocketFactoryProvider- Parameters:
proxyConfiguration- Proxy Configuration required- Returns:
- Socket Factory
-