O'Reilly logo

Java Security, 2nd Edition by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required