Package de.hybris.smartedit
Class UriVariablesResolver
java.lang.Object
de.hybris.smartedit.UriVariablesResolver
Helper class to resolve URI variables to be used with spring integration configuration
-
Method Summary
-
Method Details
-
resolveHost
Use the host name defined inproject.properties.- Returns:
- the host address
-
resolvePort
Find the port of the server running smartedit. If the port in the request does not match the port of the current host, then return the current host port instead.- Returns:
- the host port
-
setHostConfiguration
Set the port values used by the host- Parameters:
securedPort- the value of the secured (ssl) portunsecuredPort- the value of the unsecured (http) port
-