public class Route extends Object implements org.springframework.core.Ordered
Modifier and Type | Class and Description |
---|---|
static class |
Route.AbstractBuilder<B extends Route.AbstractBuilder<B>> |
static class |
Route.AsyncBuilder |
static class |
Route.Builder |
Modifier and Type | Method and Description |
---|---|
static Route.AsyncBuilder |
async() |
static Route.AsyncBuilder |
async(RouteDefinition routeDefinition) |
static Route.Builder |
builder() |
static Route.Builder |
builder(RouteDefinition routeDefinition) |
boolean |
equals(Object o) |
List<GatewayFilter> |
getFilters() |
String |
getId() |
Map<String,Object> |
getMetadata() |
int |
getOrder() |
AsyncPredicate<org.springframework.web.server.ServerWebExchange> |
getPredicate() |
URI |
getUri() |
int |
hashCode() |
String |
toString() |
public static Route.Builder builder()
public static Route.Builder builder(RouteDefinition routeDefinition)
public static Route.AsyncBuilder async()
public static Route.AsyncBuilder async(RouteDefinition routeDefinition)
public String getId()
public URI getUri()
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public AsyncPredicate<org.springframework.web.server.ServerWebExchange> getPredicate()
public List<GatewayFilter> getFilters()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.