@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public final class ApiSpecificationRoute extends Object
A single route that forwards requests to a particular backend and may contain some additional policies.
ApiSpecificationRoute.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the ApiSpecificationRoute.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
ApiSpecificationRoute.Builder |
static class |
ApiSpecificationRoute.Methods |
| Constructor and Description |
|---|
ApiSpecificationRoute(String path,
List<ApiSpecificationRoute.Methods> methods,
ApiSpecificationRouteRequestPolicies requestPolicies,
ApiSpecificationRouteResponsePolicies responsePolicies,
ApiSpecificationLoggingPolicies loggingPolicies,
ApiSpecificationRouteBackend backend)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ApiSpecificationRoute.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
ApiSpecificationRouteBackend |
getBackend() |
ApiSpecificationLoggingPolicies |
getLoggingPolicies() |
List<ApiSpecificationRoute.Methods> |
getMethods()
A list of allowed methods on this route.
|
String |
getPath()
A URL path pattern that must be matched on this route.
|
ApiSpecificationRouteRequestPolicies |
getRequestPolicies() |
ApiSpecificationRouteResponsePolicies |
getResponsePolicies() |
int |
hashCode() |
ApiSpecificationRoute.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"path","methods","requestPolicies","responsePolicies","loggingPolicies","backend"}) @Deprecated public ApiSpecificationRoute(String path, List<ApiSpecificationRoute.Methods> methods, ApiSpecificationRouteRequestPolicies requestPolicies, ApiSpecificationRouteResponsePolicies responsePolicies, ApiSpecificationLoggingPolicies loggingPolicies, ApiSpecificationRouteBackend backend)
public static ApiSpecificationRoute.Builder builder()
Create a new builder.
public ApiSpecificationRoute.Builder toBuilder()
public String getPath()
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.
public List<ApiSpecificationRoute.Methods> getMethods()
A list of allowed methods on this route.
public ApiSpecificationRouteRequestPolicies getRequestPolicies()
public ApiSpecificationRouteResponsePolicies getResponsePolicies()
public ApiSpecificationLoggingPolicies getLoggingPolicies()
public ApiSpecificationRouteBackend getBackend()
Copyright © 2016–2021. All rights reserved.