|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface ExtensionDefinition
Defines an extension method to rexster. Extensions may be applied to one of three extension points: graph, vertex and edge. This basically means that extensions can hang from any one of these resources in rexster.
Required Element Summary | |
---|---|
ExtensionPoint |
extensionPoint
Defines the resource from which this extension is applied. |
Optional Element Summary | |
---|---|
HttpMethod |
method
The HTTP method that the extension method will support. |
String |
path
Defines the path to the method extension. |
String |
produces
Specifies the media type to be returned by the extension. |
boolean |
tryIncludeRexsterAttributes
If the ExtensionDefinition is configured to produce JSON, setting this value to true will try to insert the Rexster version and query time attributes. |
Element Detail |
---|
public abstract ExtensionPoint extensionPoint
public abstract String path
public abstract boolean tryIncludeRexsterAttributes
public abstract HttpMethod method
public abstract String produces
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |