Class ValidatedResponse

java.lang.Object
io.vertx.reactivex.openapi.validation.ValidatedResponse
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class ValidatedResponse extends Object implements io.vertx.lang.rx.RxDelegate
  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<ValidatedResponse> __TYPE_ARG
  • Constructor Details

    • ValidatedResponse

      public ValidatedResponse(ValidatedResponse delegate)
    • ValidatedResponse

      public ValidatedResponse(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public ValidatedResponse getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • getHeaders

      public Map<String, ResponseParameter> getHeaders()
      Returns:
      the header parameters.
    • getBody

      public ResponseParameter getBody()
      Returns:
      the body.
    • 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 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(ValidatedResponse arg)