Class PipelineDiagnosticSettings


  • public final class PipelineDiagnosticSettings
    extends Object
    Diagnostic settings for incoming/outgoing HTTP messages to the Gateway.
    • Constructor Detail

      • PipelineDiagnosticSettings

        public PipelineDiagnosticSettings()
    • Method Detail

      • request

        public HttpMessageDiagnostic request()
        Get the request property: Diagnostic settings for request.
        Returns:
        the request value.
      • withRequest

        public PipelineDiagnosticSettings withRequest​(HttpMessageDiagnostic request)
        Set the request property: Diagnostic settings for request.
        Parameters:
        request - the request value to set.
        Returns:
        the PipelineDiagnosticSettings object itself.
      • response

        public HttpMessageDiagnostic response()
        Get the response property: Diagnostic settings for response.
        Returns:
        the response value.
      • withResponse

        public PipelineDiagnosticSettings withResponse​(HttpMessageDiagnostic response)
        Set the response property: Diagnostic settings for response.
        Parameters:
        response - the response value to set.
        Returns:
        the PipelineDiagnosticSettings object itself.
      • validate

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