Class ExternalClientProperties.Client

java.lang.Object
com.broadleafcommerce.common.extension.intercommunication.ExternalClientProperties.Client
Enclosing class:
ExternalClientProperties

public static class ExternalClientProperties.Client extends Object
  • Constructor Details

    • Client

      public Client()
  • Method Details

    • isLoopbackOptimizationEnabled

      public boolean isLoopbackOptimizationEnabled()
      Whether optimizing microservice interlink requests should be optimized with a direct method call when the targeted service is colocated in the same flexpackage. This saves on expenses related to socket creation, json serialization/deserialization, and SSL encryption and handshake. False by default. Note, for the optimization to occur, there must be support in place for the call via a valid ExternalClient instance. Coverage may not be available for every external connection use case. Note, generally, ExternalClient instances also contain their own enabling property that is evaluated in addition to this property.
    • setLoopbackOptimizationEnabled

      public void setLoopbackOptimizationEnabled(boolean loopbackOptimizationEnabled)
      Whether optimizing microservice interlink requests should be optimized with a direct method call when the targeted service is colocated in the same flexpackage. This saves on expenses related to socket creation, json serialization/deserialization, and SSL encryption and handshake. False by default. Note, for the optimization to occur, there must be support in place for the call via a valid ExternalClient instance. Coverage may not be available for every external connection use case. Note, generally, ExternalClient instances also contain their own enabling property that is evaluated in addition to this property.
    • 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