Class ValidatedResponse


  • public class ValidatedResponse
    extends Object
    • Constructor Detail

      • ValidatedResponse

        public ValidatedResponse​(io.vertx.openapi.validation.ValidatedResponse delegate)
      • ValidatedResponse

        public ValidatedResponse​(Object delegate)
    • Method Detail

      • hashCode

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

        public io.vertx.openapi.validation.ValidatedResponse getDelegate()
      • send

        public io.vertx.core.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.
      • newInstance

        public static ValidatedResponse newInstance​(io.vertx.openapi.validation.ValidatedResponse arg)