Package de.gematik.test.tiger.proxy.data
Class TigerProxyRoute
java.lang.Object
de.gematik.test.tiger.proxy.data.TigerProxyRoute
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTigerProxyRoute(String id, String from, String to, boolean internalRoute, boolean disableRbelLogging, de.gematik.test.tiger.common.data.config.tigerproxy.TigerRouteAuthenticationConfiguration authentication, List<String> criterions, List<String> hosts, boolean matchForProxyType) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanstatic TigerProxyRouteconvertFromTigerConfigurationRoute(de.gematik.test.tiger.common.data.config.tigerproxy.TigerConfigurationRoute tigerRoute, de.gematik.test.tiger.common.data.config.tigerproxy.ForwardProxyInfo forwardProxyInfo) booleande.gematik.test.tiger.common.data.config.tigerproxy.TigerRouteAuthenticationConfigurationgetFrom()getHosts()getId()getTo()inthashCode()booleanbooleanbooleanShould the route be matched for both forward- and reverse-proxy-requests?voidsetAuthentication(de.gematik.test.tiger.common.data.config.tigerproxy.TigerRouteAuthenticationConfiguration authentication) voidsetCriterions(List<String> criterions) voidsetDisableRbelLogging(boolean disableRbelLogging) voidvoidvoidvoidsetInternalRoute(boolean internalRoute) voidsetMatchForProxyType(boolean matchForProxyType) Should the route be matched for both forward- and reverse-proxy-requests?voidtoString()
-
Constructor Details
-
TigerProxyRoute
public TigerProxyRoute() -
TigerProxyRoute
@ConstructorProperties({"id","from","to","internalRoute","disableRbelLogging","authentication","criterions","hosts","matchForProxyType"}) public TigerProxyRoute(String id, String from, String to, boolean internalRoute, boolean disableRbelLogging, de.gematik.test.tiger.common.data.config.tigerproxy.TigerRouteAuthenticationConfiguration authentication, List<String> criterions, List<String> hosts, boolean matchForProxyType)
-
-
Method Details
-
convertFromTigerConfigurationRoute
public static TigerProxyRoute convertFromTigerConfigurationRoute(de.gematik.test.tiger.common.data.config.tigerproxy.TigerConfigurationRoute tigerRoute, de.gematik.test.tiger.common.data.config.tigerproxy.ForwardProxyInfo forwardProxyInfo) -
createShortDescription
-
retrieveFromUrl
-
builder
-
toBuilder
-
getId
-
getFrom
-
getTo
-
isInternalRoute
public boolean isInternalRoute() -
isDisableRbelLogging
public boolean isDisableRbelLogging() -
getAuthentication
public de.gematik.test.tiger.common.data.config.tigerproxy.TigerRouteAuthenticationConfiguration getAuthentication() -
getCriterions
-
getHosts
-
isMatchForProxyType
public boolean isMatchForProxyType()Should the route be matched for both forward- and reverse-proxy-requests? If true only requests matching the proxy-mode suggested by the "from" attribute will be handled. -
setId
-
setFrom
-
setTo
-
setInternalRoute
public void setInternalRoute(boolean internalRoute) -
setDisableRbelLogging
public void setDisableRbelLogging(boolean disableRbelLogging) -
setAuthentication
public void setAuthentication(de.gematik.test.tiger.common.data.config.tigerproxy.TigerRouteAuthenticationConfiguration authentication) -
setCriterions
-
setHosts
-
setMatchForProxyType
public void setMatchForProxyType(boolean matchForProxyType) Should the route be matched for both forward- and reverse-proxy-requests? If true only requests matching the proxy-mode suggested by the "from" attribute will be handled. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
withId
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-