@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface ApiAction
Modifier and Type | Optional Element and Description |
---|---|
boolean |
isDefault
Specifies that this action is the default action for the specified HTTP method.
|
java.lang.String |
method
The HTTP Method to bind this action to.
|
java.lang.String |
name
A name for this action, which will be generated from the method name.
|
java.lang.String |
resourcePath
Allows specifying an alternate resource path to be used when constructing the HREF for the action.
|
java.lang.String |
title
Title of the Action, this is used in the Siren serialization and likely later surfaced as documentation.
|
java.lang.String |
type
The Content Type expected for the HTTP Request that triggers the action.
|
public abstract java.lang.String method
public abstract java.lang.String name
public abstract java.lang.String title
public abstract java.lang.String type
public abstract boolean isDefault
public abstract java.lang.String resourcePath
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"