Class TrustNegotiationSuccessResponse

    • Constructor Detail

      • TrustNegotiationSuccessResponse

        public TrustNegotiationSuccessResponse​(net.minidev.json.JSONObject metadata)
        Creates a new trust negotiation success response.
        Parameters:
        metadata - The metadata JSON object for the requested metadata type. Must not be null.
    • Method Detail

      • getMetadataJSONObject

        public net.minidev.json.JSONObject getMetadataJSONObject()
        Returns metadata JSON object for the requested metadata type.
        Returns:
        The metadata JSON object.
      • indicatesSuccess

        public boolean indicatesSuccess()
        Description copied from interface: Response
        Checks if the response indicates success.
        Returns:
        true if the response indicates success, else false.