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()
SPNEGOSocketFactory
public Socket createSocket() throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory.createSocket()
public Socket createSocket(String host, int port) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
SocketFactory#createSocket(String, int))
public Socket createSocket(InetAddress host, int port) throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory#createSocket(InetAddress, int))
public Socket createSocket(String host, int port, InetAddress localHost, int localPort) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
SocketFactory#createSocket(String, int, InetAddress, int))
public Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort) throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory#createSocket(InetAddress, int, InetAddress, int))
Copyright © 2018 JBoss by Red Hat. All rights reserved.