Class ValidatedResponse


  • public class ValidatedResponse
    extends Object
    • Constructor Detail

      • ValidatedResponse

        public ValidatedResponse​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • send

        public Future<Void> send​(HttpServerResponse serverResponse)
        Add all parameters from the validated response to the passed and send it.
        Parameters:
        serverResponse - The related response
        Returns:
        A succeeded Future when the response was sent successfully, otherwise a failed one.
      • rxSend

        public io.reactivex.Completable rxSend​(HttpServerResponse serverResponse)
        Add all parameters from the validated response to the passed and send it.
        Parameters:
        serverResponse - The related response
        Returns:
        A succeeded Future when the response was sent successfully, otherwise a failed one.