T
- the model's typeS
- the type of the model's identifier (e.g., Long
,
String
, etc.)Actions
annotations
instead@Deprecated
@ProviderType
public interface ItemRoutes<T,S>
ItemRouter
.
This interface's methods return functions to get the item resource's
different endpoints. You should always use a ItemRoutes.Builder
to create
instances of this interface.
ItemRoutes.Builder
Modifier and Type | Interface and Description |
---|---|
static interface |
ItemRoutes.Builder<T,S>
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<java.util.Map<java.lang.String,CustomItemFunction<?,S>>> |
getCustomItemFunctionsOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Map<java.lang.String,CustomRoute> |
getCustomRoutes()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<DeleteItemConsumer<S>> |
getDeleteConsumerOptional()
Deprecated.
use annotation builder instead
|
java.util.Optional<Form> |
getFormOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<GetItemFunction<T,S>> |
getItemFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
java.util.Optional<UpdateItemFunction<T,S>> |
getUpdateItemFunctionOptional()
Deprecated.
As of 1.9.0, use
Actions annotations
instead |
@Deprecated java.util.Optional<java.util.Map<java.lang.String,CustomItemFunction<?,S>>> getCustomItemFunctionsOptional()
Actions
annotations
insteadCollectionRoutes.Builder
and the function therefore
exists. Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Map<java.lang.String,CustomRoute> getCustomRoutes()
Actions
annotations
instead@Deprecated java.util.Optional<DeleteItemConsumer<S>> getDeleteConsumerOptional()
ItemRoutes.Builder
and the function therefore exists.
Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<Form> getFormOptional()
Actions
annotations
insteadItemRoutes.Builder
. Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<GetItemFunction<T,S>> getItemFunctionOptional()
Actions
annotations
insteadItemRoutes.Builder
and the function therefore exists.
Returns Optional#empty()
otherwise.Optional#empty()
otherwise@Deprecated java.util.Optional<UpdateItemFunction<T,S>> getUpdateItemFunctionOptional()
Actions
annotations
insteadItemRoutes.Builder
and the function therefore exists.
Returns Optional#empty()
otherwise.Optional#empty()
otherwise