Class DefaultCarConnectionService

    • Constructor Detail

      • DefaultCarConnectionService

        public DefaultCarConnectionService()
    • Method Detail

      • getCommonI18NService

        public de.hybris.platform.servicelayer.i18n.CommonI18NService getCommonI18NService()
      • setCommonI18NService

        public void setCommonI18NService​(de.hybris.platform.servicelayer.i18n.CommonI18NService commonI18NService)
      • setCarConfigurationService

        public void setCarConfigurationService​(CarConfigurationService carConfigurationService)
      • getProxyhost

        public java.lang.String getProxyhost()
      • setProxyhost

        public void setProxyhost​(java.lang.String proxyhost)
      • getProxyport

        public java.lang.Integer getProxyport()
      • setProxyport

        public void setProxyport​(java.lang.Integer proxyport)
      • createConnection

        public java.net.HttpURLConnection createConnection​(java.lang.String absoluteUri,
                                                           java.lang.String contentType,
                                                           java.lang.String httpMethod)
                                                    throws java.io.IOException,
                                                           java.net.MalformedURLException
        Specified by:
        createConnection in interface CarConnectionService
        Parameters:
        absoluteUri - Absolute target URI for CAR
        contentType - Content Type expected to be received
        httpMethod - HTTP Method to be used (PUT/POST/GET etc...)
        Returns:
        HTTP Connection established
        Throws:
        java.io.IOException - Exception thrown if an exception occurs when opening the connection
        java.net.MalformedURLException - Thrown if an unknown or unspecified protocol is provided
      • getLanguage

        protected java.lang.String getLanguage()