Class HttpDestinationImpl
java.lang.Object
com.commercetools.api.models.extension.HttpDestinationImpl
- All Implemented Interfaces:
ExtensionDestination
,HttpDestination
,io.vrap.rmf.base.client.ModelBase
public class HttpDestinationImpl
extends Object
implements HttpDestination, io.vrap.rmf.base.client.ModelBase
We recommend an encrypted HTTPS
connection for production setups. However, we also accept unencrypted HTTP
connections for development purposes. HTTP redirects will not be followed and cache headers will be ignored.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.extension.HttpDestination
HTTP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Authentication methods (such asBasic
orBearer
).getType()
getUrl()
URL to the target destination.int
hashCode()
void
setAuthentication
(HttpDestinationAuthentication authentication) Authentication methods (such asBasic
orBearer
).void
URL to the target destination.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.extension.ExtensionDestination
withExtensionDestination
Methods inherited from interface com.commercetools.api.models.extension.HttpDestination
withHttpDestination
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
HttpDestinationImpl
public HttpDestinationImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceExtensionDestination
- Returns:
- type
-
getUrl
URL to the target destination. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
- Specified by:
getUrl
in interfaceHttpDestination
- Returns:
- url
-
getAuthentication
Authentication methods (such as
Basic
orBearer
).- Specified by:
getAuthentication
in interfaceHttpDestination
- Returns:
- authentication
-
setUrl
Description copied from interface:HttpDestination
URL to the target destination. If the Project is hosted in the China (AWS, Ningxia) Region, verify that the URL is not blocked due to firewall restrictions.
- Specified by:
setUrl
in interfaceHttpDestination
- Parameters:
url
- value to be set
-
setAuthentication
Description copied from interface:HttpDestination
Authentication methods (such as
Basic
orBearer
).- Specified by:
setAuthentication
in interfaceHttpDestination
- Parameters:
authentication
- value to be set
-
equals
-
hashCode
-