public class DefaultCarConnectionService extends java.lang.Object implements CarConnectionService
CarConnectionService| Constructor and Description |
|---|
DefaultCarConnectionService() |
| Modifier and Type | Method and Description |
|---|---|
java.net.HttpURLConnection |
createConnection(java.lang.String absoluteUri,
java.lang.String contentType,
java.lang.String httpMethod) |
CarConfigurationService |
getCarConfigurationService() |
CommonI18NService |
getCommonI18NService() |
protected java.lang.String |
getLanguage() |
java.lang.String |
getProxyhost() |
java.lang.Integer |
getProxyport() |
void |
setCarConfigurationService(CarConfigurationService carConfigurationService) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setProxyhost(java.lang.String proxyhost) |
void |
setProxyport(java.lang.Integer proxyport) |
public CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
public CarConfigurationService getCarConfigurationService()
public void setCarConfigurationService(CarConfigurationService carConfigurationService)
public java.lang.String getProxyhost()
public void setProxyhost(java.lang.String proxyhost)
public java.lang.Integer getProxyport()
public void setProxyport(java.lang.Integer proxyport)
public java.net.HttpURLConnection createConnection(java.lang.String absoluteUri,
java.lang.String contentType,
java.lang.String httpMethod)
throws java.io.IOException,
java.net.MalformedURLException
createConnection in interface CarConnectionServiceabsoluteUri - Absolute target URI for CARcontentType - Content Type expected to be receivedhttpMethod - HTTP Method to be used (PUT/POST/GET etc...)java.io.IOException - Exception thrown if an exception occurs when opening the connectionjava.net.MalformedURLException - Thrown if an unknown or unspecified protocol is providedprotected java.lang.String getLanguage()
Copyright © 2018 SAP SE. All Rights Reserved.