@API(status=STABLE) public final class Navigators extends Object
navigators
.Navigator
Modifier and Type | Method and Description |
---|---|
static Navigator<org.springframework.http.MediaType> |
contentType()
A
Navigator that selects the best binding based on the response's content type. |
static Navigator<String> |
reasonPhrase()
A
Navigator that selects a binding based on the response's reason phrase. |
static Navigator<org.springframework.http.HttpStatus.Series> |
series()
A
Navigator that selects a binding based on the response's status code series |
static Navigator<org.springframework.http.HttpStatus> |
status()
A
Navigator that selects a binding based on the response's status. |
static Navigator<Integer> |
statusCode()
A
Navigator that selects a binding based on the response's status code. |
public static Navigator<org.springframework.http.HttpStatus.Series> series()
Navigator
that selects a binding based on the response's status code seriesHttpStatus.Series
public static Navigator<org.springframework.http.HttpStatus> status()
Navigator
that selects a binding based on the response's status.HttpStatus
,
statusCode()
public static Navigator<Integer> statusCode()
Navigator
that selects a binding based on the response's status code.HttpStatus
,
status()
public static Navigator<String> reasonPhrase()
Navigator
that selects a binding based on the response's reason phrase.
Be aware that this, even though it's standardized, could be changed by servers.HttpStatus.getReasonPhrase()
,
status()
,
statusCode()
Copyright © 2015–2018 Zalando SE. All rights reserved.