Class ValidatableResponse
java.lang.Object
io.vertx.rxjava3.openapi.validation.ValidatableResponse
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionValidatableResponse(ValidatableResponse delegate) ValidatableResponse(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionstatic ValidatableResponsecreate(int statusCode) Creates a newValidatableResponseobject based on the passed parameters.static ValidatableResponseCreates a newValidatableResponseobject based on the passed parameters.static ValidatableResponseCreates a newValidatableResponseobject based on the passed parameters.static ValidatableResponseCreates a newValidatableResponseobject based on the passed parameters.booleangetBody()intinthashCode()static ValidatableResponsetoString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ValidatableResponse
-
ValidatableResponse
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
create
Creates a newValidatableResponseobject based on the passed parameters.- Parameters:
statusCode- The related status code- Returns:
- a
ValidatableResponseobject
-
create
Creates a newValidatableResponseobject based on the passed parameters.- Parameters:
statusCode- The related status codeheaders- The related headers- Returns:
- a
ValidatableResponseobject
-
create
Creates a newValidatableResponseobject based on the passed parameters.- Parameters:
statusCode- The related status codebody- The related bodycontentType- The related content type- Returns:
- a
ValidatableResponseobject
-
create
public static ValidatableResponse create(int statusCode, Map<String, String> headers, Buffer body, String contentType) Creates a newValidatableResponseobject based on the passed parameters.- Parameters:
statusCode- The related status codeheaders- The related headersbody- The related bodycontentType- The related content type- Returns:
- a
ValidatableResponseobject
-
getHeaders
- Returns:
- the header parameters.
-
getBody
- Returns:
- the body.
-
getContentType
-
getStatusCode
public int getStatusCode() -
newInstance
-