Name

Class javax.net.ServerSocketFactory

Synopsis

This class is used to obtain server sockets. The default implementation of this method (returned from the getDefault( ) method) will provide standard TCP server sockets; subclasses of this class can be used to obtain SSL server sockets.

Class Definition

public abstract class javax.net.ServerSocketFactory
    extends java.lang.Object {

    // Constructors
    protected ServerSocketFactory(  );

    // Class Methods
    public static ServerSocketFactory getDefault(  );

    // Instance Methods
    public abstract ServerSocket createServerSocket(int,
                                           int, InetAddress);
    public abstract ServerSocket createServerSocket(int, int);
    public abstract ServerSocket createServerSocket(int);
}

See also

SSLServerSocketFactory

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.