Class ProtocolConfiguration


  • public final class ProtocolConfiguration
    extends Object
    Configuration of the protocol.
    • Constructor Detail

      • ProtocolConfiguration

        public ProtocolConfiguration()
    • Method Detail

      • httpConfiguration

        public HttpConfiguration httpConfiguration()
        Get the httpConfiguration property: HTTP configuration of the connectivity check.
        Returns:
        the httpConfiguration value.
      • withHttpConfiguration

        public ProtocolConfiguration withHttpConfiguration​(HttpConfiguration httpConfiguration)
        Set the httpConfiguration property: HTTP configuration of the connectivity check.
        Parameters:
        httpConfiguration - the httpConfiguration value to set.
        Returns:
        the ProtocolConfiguration object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.