public static class GenericRouteSpec.Builder<T,RS extends GenericRouteSpec<T>> extends Object
| Constructor and Description |
|---|
Builder(java.util.function.UnaryOperator<RS> copy) |
| Modifier and Type | Method and Description |
|---|---|
RS |
build() |
GenericRouteSpec.Builder<T,RS> |
withHTTPMethod(HTTPMethod httpMethod) |
GenericRouteSpec.Builder<T,RS> |
withPath(String path) |
GenericRouteSpec.Builder<T,RS> |
withValue(T value) |
public Builder(java.util.function.UnaryOperator<RS> copy)
public GenericRouteSpec.Builder<T,RS> withPath(String path)
public GenericRouteSpec.Builder<T,RS> withHTTPMethod(HTTPMethod httpMethod)
public GenericRouteSpec.Builder<T,RS> withValue(T value)
public RS build()
Copyright © 2017. All rights reserved.