public class SPNEGOSocketFactory extends SocketFactory
SocketFactory that uses SPNEGOSocket as
the sockets.| Constructor and Description |
|---|
SPNEGOSocketFactory()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Socket |
createSocket() |
Socket |
createSocket(InetAddress host,
int port) |
Socket |
createSocket(InetAddress address,
int port,
InetAddress localAddress,
int localPort) |
Socket |
createSocket(String host,
int port) |
Socket |
createSocket(String host,
int port,
InetAddress localHost,
int localPort) |
static SocketFactory |
getDefault()
Some resources require this static getDefault method
|
public static SocketFactory getDefault()
SPNEGOSocketFactorypublic Socket createSocket() throws IOException
createSocket in class SocketFactoryIOExceptionSocketFactory.createSocket()public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionSocketFactory#createSocket(String, int))public Socket createSocket(InetAddress host, int port) throws IOException
createSocket in class SocketFactoryIOExceptionSocketFactory#createSocket(InetAddress, int))public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket in class SocketFactoryIOExceptionUnknownHostExceptionSocketFactory#createSocket(String, int, InetAddress, int))public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket in class SocketFactoryIOExceptionSocketFactory#createSocket(InetAddress, int, InetAddress, int))Copyright © 2016 JBoss by Red Hat. All rights reserved.