public class ValidatableResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static io.vertx.lang.rx.TypeArg<ValidatableResponse> |
__TYPE_ARG |
| Constructor and Description |
|---|
ValidatableResponse(Object delegate) |
ValidatableResponse(ValidatableResponse delegate) |
| Modifier and Type | Method and Description |
|---|---|
static ValidatableResponse |
create(int statusCode)
Creates a new
ValidatableResponse object based on the passed parameters. |
static ValidatableResponse |
create(int statusCode,
Buffer body,
String contentType)
Creates a new
ValidatableResponse object based on the passed parameters. |
static ValidatableResponse |
create(int statusCode,
Map<String,String> headers)
Creates a new
ValidatableResponse object based on the passed parameters. |
static ValidatableResponse |
create(int statusCode,
Map<String,String> headers,
Buffer body,
String contentType)
Creates a new
ValidatableResponse object based on the passed parameters. |
boolean |
equals(Object o) |
ResponseParameter |
getBody() |
String |
getContentType() |
ValidatableResponse |
getDelegate() |
Map<String,ResponseParameter> |
getHeaders() |
int |
getStatusCode() |
int |
hashCode() |
static ValidatableResponse |
newInstance(ValidatableResponse arg) |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<ValidatableResponse> __TYPE_ARG
public ValidatableResponse(ValidatableResponse delegate)
public ValidatableResponse(Object delegate)
public ValidatableResponse getDelegate()
public static ValidatableResponse create(int statusCode)
ValidatableResponse object based on the passed parameters.statusCode - The related status codeValidatableResponse objectpublic static ValidatableResponse create(int statusCode, Map<String,String> headers)
ValidatableResponse object based on the passed parameters.statusCode - The related status codeheaders - The related headersValidatableResponse objectpublic static ValidatableResponse create(int statusCode, Buffer body, String contentType)
ValidatableResponse object based on the passed parameters.statusCode - The related status codebody - The related bodycontentType - The related content typeValidatableResponse objectpublic static ValidatableResponse create(int statusCode, Map<String,String> headers, Buffer body, String contentType)
ValidatableResponse object based on the passed parameters.
statusCode - The related status codeheaders - The related headersbody - The related bodycontentType - The related content typeValidatableResponse objectpublic Map<String,ResponseParameter> getHeaders()
public ResponseParameter getBody()
public String getContentType()
public int getStatusCode()
public static ValidatableResponse newInstance(ValidatableResponse arg)
Copyright © 2023 Eclipse. All rights reserved.