@ProviderType
public interface Operation
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomRoute()
Returns the operation's custom route.
|
java.util.Optional<Form> |
getFormOptional()
Returns this operation's expected form, if present; returns
Optional#empty() otherwise. |
HTTPMethod |
getHttpMethod()
Returns the operation's method.
|
java.lang.String |
getName()
Returns the operation's name.
|
java.util.Optional<java.lang.String> |
getURIOptional()
Returns the operation's URI.
|
boolean |
isCollection()
Whether this is a collection's operation.
|
boolean |
isCustom()
Returns
true if this is a custom operation. |
java.lang.String getCustomRoute()
java.util.Optional<Form> getFormOptional()
Optional#empty()
otherwise.Optional#empty()
otherwiseHTTPMethod getHttpMethod()
java.lang.String getName()
java.util.Optional<java.lang.String> getURIOptional()
boolean isCollection()
true
if this is a collection's operation; false
otherwiseboolean isCustom()
true
if this is a custom operation.true
if this is a custom operation; false
otherwise