Class BaSyxHTTPSConnector

  • All Implemented Interfaces:
    org.eclipse.basyx.vab.protocol.api.IBaSyxConnector

    public class BaSyxHTTPSConnector
    extends org.eclipse.basyx.vab.protocol.http.connector.HTTPConnector
    An HTTPS Connector class which can be used for creating an HTTPS Client.
    Author:
    haque (taken over from BaSyx tests), Holger Eichelberger, SSE
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.slf4j.Logger logger  
      • Fields inherited from class org.eclipse.basyx.vab.protocol.http.connector.HTTPConnector

        client
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void setHttpsClient​(BaSyxJerseyHttpsClientFactory factory)
      Configures the client so that it can run with HTTPS protocol.
      • Methods inherited from class org.eclipse.basyx.vab.protocol.http.connector.HTTPConnector

        buildRequest, createValue, createWSPath, deleteValue, deleteValue, getEndpointRepresentation, getValue, invokeOperation, setValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private static org.slf4j.Logger logger
    • Constructor Detail

      • BaSyxHTTPSConnector

        public BaSyxHTTPSConnector​(java.lang.String address,
                                   BaSyxJerseyHttpsClientFactory factory)
        Initiates an HTTPSConnector with given address and HTTPS factory.
        Parameters:
        address - the server address
        factory - the HTTPS factory
      • BaSyxHTTPSConnector

        public BaSyxHTTPSConnector​(java.lang.String address,
                                   java.lang.String mediaType,
                                   BaSyxJerseyHttpsClientFactory factory)
        Initiates an HTTPSConnector with given address and media type.
        Parameters:
        address - the server address
        mediaType - the media type
        factory - the HTTPS factory
    • Method Detail

      • setHttpsClient

        private void setHttpsClient​(BaSyxJerseyHttpsClientFactory factory)
        Configures the client so that it can run with HTTPS protocol.
        Parameters:
        factory - the HTTPS factory