public class CustomSocketFactory extends SocketFactory implements Comparator<SocketFactory>
LDAPRealm
Modifier and Type | Field and Description |
---|---|
protected static Logger |
_logger |
protected static StringManager |
sm |
static String |
SSL |
Constructor and Description |
---|
CustomSocketFactory() |
Modifier and Type | Method and Description |
---|---|
int |
compare(SocketFactory s1,
SocketFactory s2) |
Socket |
createSocket(InetAddress arg0,
int arg1) |
Socket |
createSocket(InetAddress arg0,
int arg1,
InetAddress arg2,
int arg3) |
Socket |
createSocket(String arg0,
int arg1) |
Socket |
createSocket(String arg0,
int arg1,
InetAddress arg2,
int arg3) |
static SocketFactory |
getDefault() |
createSocket
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final String SSL
protected static final Logger _logger
protected static final StringManager sm
public Socket createSocket(String arg0, int arg1) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
SocketFactory.createSocket(java.lang.String, int)
public Socket createSocket(InetAddress arg0, int arg1) throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory.createSocket(java.net.InetAddress, int)
public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException, UnknownHostException
createSocket
in class SocketFactory
IOException
UnknownHostException
SocketFactory.createSocket(java.lang.String, int,
java.net.InetAddress, int)
public Socket createSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3) throws IOException
createSocket
in class SocketFactory
IOException
SocketFactory.createSocket(java.net.InetAddress, int,
java.net.InetAddress, int)
public int compare(SocketFactory s1, SocketFactory s2)
compare
in interface Comparator<SocketFactory>
public static SocketFactory getDefault()
Copyright © 2018. All rights reserved.