Class Response


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public class Response
    extends java.lang.Object
    A response describing what this provider knows about this host.
    Since:
    22
    • Constructor Detail

      • Response

        public Response​(ResponseType responseType,
                        java.lang.String reason)
        Constructor.
        Parameters:
        responseType - The response types.
        reason - A reason why this response was given for a particular host.
      • Response

        public Response​(ResponseType responseType)
        Constructor.
        Parameters:
        responseType - The response types.
    • Method Detail

      • getReason

        public java.lang.String getReason()
        Returns:
        The reason why this response was given for a particular host.
      • getResponseType

        public ResponseType getResponseType()
        Returns:
        Returns the responseType.