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