|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface Link
Used to request the addition of a Ref header in the returned HTTP headers.
One of value()
of #resource()
must be specified.
Required Element Summary | |
---|---|
Ref |
value
Specifies the link value of the Ref header |
Optional Element Summary | |
---|---|
String |
anchor
Specifies the anchor |
Link.Extension[] |
extensions
Specifies extension parameters as name-value pairs. |
String |
hreflang
Specifies the lang of the referenced resource |
String |
media
Specifies the media |
String |
rel
Specifies the relationship. |
String |
rev
Specifies the reverse relationship. |
String |
title
Specifies the title. |
String |
type
Specifies the media type. |
Element Detail |
---|
public abstract Ref value
public abstract String rel
public abstract String rev
public abstract String type
public abstract String title
public abstract String anchor
public abstract String media
public abstract String hreflang
public abstract Link.Extension[] extensions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |