public static class ApiSpecificationRoute.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ApiSpecificationRoute.Builder |
backend(ApiSpecificationRouteBackend backend) |
ApiSpecificationRoute |
build() |
ApiSpecificationRoute.Builder |
copy(ApiSpecificationRoute model) |
ApiSpecificationRoute.Builder |
loggingPolicies(ApiSpecificationLoggingPolicies loggingPolicies) |
ApiSpecificationRoute.Builder |
methods(List<ApiSpecificationRoute.Methods> methods)
A list of allowed methods on this route.
|
ApiSpecificationRoute.Builder |
path(String path)
A URL path pattern that must be matched on this route.
|
ApiSpecificationRoute.Builder |
requestPolicies(ApiSpecificationRouteRequestPolicies requestPolicies) |
ApiSpecificationRoute.Builder |
responsePolicies(ApiSpecificationRouteResponsePolicies responsePolicies) |
public ApiSpecificationRoute.Builder path(String path)
A URL path pattern that must be matched on this route. The path pattern may contain a subset of RFC 6570 identifiers to allow wildcard and parameterized matching.
path
- the value to setpublic ApiSpecificationRoute.Builder methods(List<ApiSpecificationRoute.Methods> methods)
A list of allowed methods on this route.
methods
- the value to setpublic ApiSpecificationRoute.Builder requestPolicies(ApiSpecificationRouteRequestPolicies requestPolicies)
public ApiSpecificationRoute.Builder responsePolicies(ApiSpecificationRouteResponsePolicies responsePolicies)
public ApiSpecificationRoute.Builder loggingPolicies(ApiSpecificationLoggingPolicies loggingPolicies)
public ApiSpecificationRoute.Builder backend(ApiSpecificationRouteBackend backend)
public ApiSpecificationRoute build()
public ApiSpecificationRoute.Builder copy(ApiSpecificationRoute model)
Copyright © 2016–2024. All rights reserved.