Class TransportInfo

  • All Implemented Interfaces:

    
    public class TransportInfo
    
                        

    Utility class to provide transport information.

    Transport information comprises:

    • the transportation scheme (e.g., soap-over-udp, http, https)
    • local address and port information (if available)
    • remote address and port information (if available)
    • Transport layer certificates (if available)
    • Method Detail

      • getScheme

         String getScheme()

        Gets the scheme that identifies the context of this transport information.

        Returns:

        the scheme; always present.

      • getX509Certificates

         List<X509Certificate> getX509Certificates()

        Any transport-layer specific X509 certificates.

        Returns:

        a list of certificates that can be empty if no transport-layer security is activated.

      • getRemoteNodeInfo

         String getRemoteNodeInfo()

        Returns information of the remote node intended to be used for logging purposes.

        Returns:

        string representation comprising scheme, address and port.