public final class Selectors extends Object
| Modifier and Type | Method and Description |
|---|---|
static Selector<org.springframework.http.MediaType> |
contentType()
A
Selector that selects the best binding based on the response's content type. |
static Selector<org.springframework.http.HttpStatus.Series> |
series()
A
Selector that selects a binding based on the response's status code series |
static Selector<org.springframework.http.HttpStatus> |
status()
A
Selector that selects a binding based on the response's status. |
static Selector<Integer> |
statusCode()
A
Selector that selects a binding based on the response's status code. |
public static Selector<org.springframework.http.HttpStatus.Series> series()
Selector that selects a binding based on the response's status code seriesHttpStatus.Seriespublic static Selector<org.springframework.http.HttpStatus> status()
Selector that selects a binding based on the response's status.HttpStatus,
statusCode()public static Selector<Integer> statusCode()
Selector that selects a binding based on the response's status code.HttpStatus,
status()Copyright © 2015 Zalando SE. All rights reserved.