Class TigerProxyRoute

java.lang.Object
de.gematik.test.tiger.proxy.data.TigerProxyRoute
All Implemented Interfaces:
Serializable

public class TigerProxyRoute extends Object implements Serializable
See Also:
  • 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

      public String createShortDescription()
    • retrieveFromUrl

      public URL retrieveFromUrl()
    • builder

      public static TigerProxyRoute.TigerProxyRouteBuilder builder()
    • toBuilder

    • getId

      public String getId()
    • getFrom

      public String getFrom()
    • getTo

      public String getTo()
    • isInternalRoute

      public boolean isInternalRoute()
    • isDisableRbelLogging

      public boolean isDisableRbelLogging()
    • getAuthentication

      public de.gematik.test.tiger.common.data.config.tigerproxy.TigerRouteAuthenticationConfiguration getAuthentication()
    • getCriterions

      public List<String> getCriterions()
    • getHosts

      public List<String> 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

      public void setId(String id)
    • setFrom

      public void setFrom(String from)
    • setTo

      public void setTo(String to)
    • 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

      public void setCriterions(List<String> criterions)
    • setHosts

      public void setHosts(List<String> hosts)
    • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • withId

      public TigerProxyRoute withId(String id)
      Returns:
      a clone of this object, except with this updated property (returns this if an identical value is passed).