Package | Description |
---|---|
io.vertx.core.http |
Modifier and Type | Field and Description |
---|---|
static HttpResponseExpectation |
HttpResponseExpectation.JSON
Creates an expectation validating the response
content-type is application/json . |
static HttpResponseExpectation |
HttpResponseExpectation.SC_ACCEPTED
202 Accepted
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_BAD_GATEWAY
502 Bad Gateway
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_BAD_REQUEST
400 Bad Request
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_CLIENT_ERRORS
Any 4XX client error
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_CONFLICT
409 Conflict
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_CONTINUE
100 Continue
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_CREATED
201 Created
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_EARLY_HINTS
103 Early Hints
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_EXPECTATION_FAILED
417 Expectation Failed
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_FAILED_DEPENDENCY
424 Failed Dependency (WebDAV, RFC4918)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_FORBIDDEN
403 Forbidden
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_FOUND
302 Found
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_GATEWAY_TIMEOUT
504 Gateway Timeout
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_GONE
410 Gone
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_HTTP_VERSION_NOT_SUPPORTED
505 HTTP Version Not Supported
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_INFORMATIONAL_RESPONSE
Any 1XX informational response
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_INSUFFICIENT_STORAGE
507 Insufficient Storage (WebDAV, RFC4918)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_INTERNAL_SERVER_ERROR
500 Internal Server Error
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_LENGTH_REQUIRED
411 Length Required
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_LOCKED
423 Locked (WebDAV, RFC4918)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_METHOD_NOT_ALLOWED
405 Method Not Allowed
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_MISDIRECTED_REQUEST
421 Misdirected Request
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_MOVED_PERMANENTLY
301 Moved Permanently
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_MULTI_STATUS
207 Multi-Status (WebDAV, RFC2518)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_MULTIPLE_CHOICES
300 Multiple Choices
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NETWORK_AUTHENTICATION_REQUIRED
511 Network Authentication Required (RFC6585)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NO_CONTENT
204 No Content
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NON_AUTHORITATIVE_INFORMATION
203 Non-Authoritative Information (since HTTP/1.1)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NOT_ACCEPTABLE
406 Not Acceptable
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NOT_EXTENDED
510 Not Extended (RFC2774)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NOT_FOUND
404 Not Found
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NOT_IMPLEMENTED
501 Not Implemented
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_NOT_MODIFIED
304 Not Modified
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_OK
200 OK
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_PARTIAL_CONTENT
206 Partial Content
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_PAYMENT_REQUIRED
402 Payment Required
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_PERMANENT_REDIRECT
308 Permanent Redirect (RFC7538)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_PRECONDITION_FAILED
412 Precondition Failed
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_PRECONDITION_REQUIRED
428 Precondition Required (RFC6585)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_PROCESSING
102 Processing (WebDAV, RFC2518)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_PROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_REDIRECTION
Any 3XX redirection
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_REQUEST_ENTITY_TOO_LARGE
413 Request Entity Too Large
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_REQUEST_HEADER_FIELDS_TOO_LARGE
431 Request Header Fields Too Large (RFC6585)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_REQUEST_TIMEOUT
408 Request Timeout
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_REQUEST_URI_TOO_LONG
414 Request-URI Too Long
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_REQUESTED_RANGE_NOT_SATISFIABLE
416 Requested Range Not Satisfiable
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_RESET_CONTENT
205 Reset Content
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_SEE_OTHER
303 See Other (since HTTP/1.1)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_SERVER_ERRORS
Any 5XX server error
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_SERVICE_UNAVAILABLE
503 Service Unavailable
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_SUCCESS
Any 2XX success
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_SWITCHING_PROTOCOLS
101 Switching Protocols
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_TEMPORARY_REDIRECT
307 Temporary Redirect (since HTTP/1.1)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_TOO_MANY_REQUESTS
429 Too Many Requests (RFC6585)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_UNAUTHORIZED
401 Unauthorized
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_UNORDERED_COLLECTION
425 Unordered Collection (WebDAV, RFC3648)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_UNPROCESSABLE_ENTITY
422 Unprocessable Entity (WebDAV, RFC4918)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_UNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_UPGRADE_REQUIRED
426 Upgrade Required (RFC2817)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_USE_PROXY
305 Use Proxy (since HTTP/1.1)
|
static HttpResponseExpectation |
HttpResponseExpectation.SC_VARIANT_ALSO_NEGOTIATES
506 Variant Also Negotiates (RFC2295)
|
Modifier and Type | Method and Description |
---|---|
static HttpResponseExpectation |
HttpResponseExpectation.contentType(List<String> mimeTypes)
Creates an expectation validating the response has a
content-type header matching one of the mimeTypes . |
static HttpResponseExpectation |
HttpResponseExpectation.contentType(String... mimeTypes)
Creates an expectation validating the response has a
content-type header matching one of the mimeTypes . |
static HttpResponseExpectation |
HttpResponseExpectation.contentType(String mimeType)
Creates an expectation validating the response has a
content-type header matching the mimeType . |
static HttpResponseExpectation |
HttpResponseExpectation.status(int statusCode)
Creates an expectation asserting that the status response code is equal to
statusCode . |
static HttpResponseExpectation |
HttpResponseExpectation.status(int min,
int max) |
Copyright © 2024 Eclipse. All rights reserved.