public @interface Link
Modifier and Type | Required Element and Description |
---|---|
String |
href
The value of the "href" link description property indicates the
target URI of the related resource.
|
String |
rel
The value of the "rel" property indicates the name of the relation to
the target resource.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
enctype
If present, this property indicates a query media type format that
the server supports for querying or posting to the collection of
instances at the target resource.
|
String |
mediaType
The value of this property is advisory only, and represents the media type RFC 2046 [RFC2046],
that is expected to be returned when fetching this resource.
|
String |
method
This attribute defines which method can be used to access the target
resource.
|
Class<?> |
schema
This attribute contains a jsonSchema which defines the acceptable
structure of the submitted request (for a GET request, this jsonSchema
would define the properties for the query string and for a POST
request, this would define the body).
|
Class<?> |
targetSchema
This property value is a jsonSchema that defines the expected structure
of the JSON representation of the target of the link.
|
String |
title
This property defines a title for the link.
|
public abstract String href
public abstract String rel
public abstract Class<?> targetSchema
public abstract String method
public abstract String enctype
public abstract Class<?> schema
public abstract String title
public abstract String mediaType
Copyright © 2014-2015 FasterXML. All Rights Reserved.