IT. Expert System.

Android Reference

OpenSSLSocketFactoryImpl


org.apache.harmony.xnet.provider.jsse

Class OpenSSLSocketFactoryImpl

    • Constructor Detail

      • OpenSSLSocketFactoryImpl

        public OpenSSLSocketFactoryImpl()
      • OpenSSLSocketFactoryImpl

        public OpenSSLSocketFactoryImpl(SSLParametersImpl sslParameters)
    • Method Detail

      • getDefaultCipherSuites

        public String[] getDefaultCipherSuites()
        Description copied from class: SSLSocketFactory
        Returns the names of the cipher suites that are enabled by default.
        Specified by:
        getDefaultCipherSuites in class SSLSocketFactory
        Returns:
        the names of the cipher suites that are enabled by default.
      • getSupportedCipherSuites

        public String[] getSupportedCipherSuites()
        Description copied from class: SSLSocketFactory
        Returns the names of the cipher suites that are supported and could be enabled for an SSL connection.
        Specified by:
        getSupportedCipherSuites in class SSLSocketFactory
        Returns:
        the names of the cipher suites that are supported.
      • createSocket

        public Socket createSocket()
                            throws IOException
        Description copied from class: SocketFactory
        Creates a new socket which is not connected to any remote host. This method has to be overridden by a subclass otherwise a SocketException is thrown.
        Overrides:
        createSocket in class SocketFactory
        Returns:
        the created unconnected socket.
        Throws:
        IOException - if an error occurs while creating a new socket.
      • createSocket

        public Socket createSocket(String host,
                          int port)
                            throws IOException,
                                   UnknownHostException
        Description copied from class: SocketFactory
        Creates a new socket which is connected to the remote host specified by the parameters host and port. The socket is bound to any available local address and port.
        Specified by:
        createSocket in class SocketFactory
        Parameters:
        host - the remote host address the socket has to be connected to.
        port - the port number of the remote host at which the socket is connected.
        Returns:
        the created connected socket.
        Throws:
        IOException - if an error occurs while creating a new socket.
        UnknownHostException - if the specified host is unknown or the IP address could not be resolved.
      • createSocket

        public Socket createSocket(String host,
                          int port,
                          InetAddress localHost,
                          int localPort)
                            throws IOException,
                                   UnknownHostException
        Description copied from class: SocketFactory
        Creates a new socket which is connected to the remote host specified by the parameters host and port. The socket is bound to the local network interface specified by the InetAddress localHost on port localPort.
        Specified by:
        createSocket in class SocketFactory
        Parameters:
        host - the remote host address the socket has to be connected to.
        port - the port number of the remote host at which the socket is connected.
        localHost - the local host address the socket is bound to.
        localPort - the port number of the local host at which the socket is bound.
        Returns:
        the created connected socket.
        Throws:
        IOException - if an error occurs while creating a new socket.
        UnknownHostException - if the specified host is unknown or the IP address could not be resolved.
      • createSocket

        public Socket createSocket(InetAddress host,
                          int port)
                            throws IOException
        Description copied from class: SocketFactory
        Creates a new socket which is connected to the remote host specified by the InetAddress host. The socket is bound to any available local address and port.
        Specified by:
        createSocket in class SocketFactory
        Parameters:
        host - the host address the socket has to be connected to.
        port - the port number of the remote host at which the socket is connected.
        Returns:
        the created connected socket.
        Throws:
        IOException - if an error occurs while creating a new socket.
      • createSocket

        public Socket createSocket(InetAddress address,
                          int port,
                          InetAddress localAddress,
                          int localPort)
                            throws IOException
        Description copied from class: SocketFactory
        Creates a new socket which is connected to the remote host specified by the InetAddress address. The socket is bound to the local network interface specified by the InetAddress localHost on port localPort.
        Specified by:
        createSocket in class SocketFactory
        Parameters:
        address - the remote host address the socket has to be connected to.
        port - the port number of the remote host at which the socket is connected.
        localAddress - the local host address the socket is bound to.
        localPort - the port number of the local host at which the socket is bound.
        Returns:
        the created connected socket.
        Throws:
        IOException - if an error occurs while creating a new socket.
      • createSocket

        public Socket createSocket(Socket s,
                          String host,
                          int port,
                          boolean autoClose)
                            throws IOException
        Description copied from class: SSLSocketFactory
        Creates an SSLSocket over the specified socket that is connected to the specified host at the specified port.
        Specified by:
        createSocket in class SSLSocketFactory
        Parameters:
        s - the socket.
        host - the host.
        port - the port number.
        autoClose - true if socket s should be closed when the created socket is closed, false if the socket s should be left open.
        Returns:
        the creates ssl socket.
        Throws:
        IOException - if creating the socket fails.
        UnknownHostException - if the host is unknown.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 894 / . Delta: 0.03666 с