public final class LinkRepresentation extends JsonRepresentation
JsonRepresentation.HasExtensions, JsonRepresentation.HasLinks, JsonRepresentation.HasLinkToSelf, JsonRepresentation.HasLinkToUp_HHmmss, jsonNode, yyyyMMdd, yyyyMMddTHHmmssZ| Constructor and Description |
|---|
LinkRepresentation() |
LinkRepresentation(org.codehaus.jackson.JsonNode jsonNode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
<T> RestfulResponse<JsonRepresentation> |
follow(org.jboss.resteasy.client.ClientExecutor executor) |
<T extends JsonRepresentation> |
follow(org.jboss.resteasy.client.ClientExecutor executor,
JsonRepresentation requestArgs) |
JsonRepresentation |
getArguments()
Returns the "arguments" json-property of the link (a map).
|
String |
getHref() |
RestfulHttpMethod |
getHttpMethod() |
String |
getRel() |
String |
getTitle() |
javax.ws.rs.core.MediaType |
getType() |
JsonRepresentation |
getValue() |
int |
hashCode() |
String |
toString() |
LinkRepresentation |
withHref(String href) |
LinkRepresentation |
withMethod(RestfulHttpMethod httpMethod) |
LinkRepresentation |
withRel(Rel rel) |
LinkRepresentation |
withRel(String rel) |
LinkRepresentation |
withTitle(String title) |
arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayAdd, arrayGet, arrayIterable, arrayIterable, arrayIterator, arrayIterator, arraySetElementAt, as, asArg, asArray, asArrayNode, asBigDecimal, asBigDecimal, asBigInteger, asBigInteger, asBoolean, asByte, asChar, asDate, asDateTime, asDouble, asFloat, asInputStream, asInt, asJsonNode, asLink, asLong, asMap, asNull, asNumber, asObjectNode, asShort, asString, asTime, asUrlEncoded, ensureArray, getArray, getArrayEnsured, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getByte, getChar, getDate, getDateTime, getDouble, getFloat, getInt, getLink, getLong, getMap, getNull, getRepresentation, getShort, getString, getTime, isArray, isArray, isBigDecimal, isBigDecimal, isBigInteger, isBigInteger, isBoolean, isBoolean, isDecimal, isDecimal, isDouble, isDouble, isInt, isInt, isIntegralNumber, isIntegralNumber, isLink, isLink, isLink, isLong, isLong, isMap, isMap, isNull, isNull, isNumber, isNumber, isString, isString, isValue, mapHas, mapIterable, mapIterator, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapPut, mapValueAsLink, newArray, newArray, newMap, sizepublic LinkRepresentation()
public LinkRepresentation(org.codehaus.jackson.JsonNode jsonNode)
public LinkRepresentation withRel(String rel)
public LinkRepresentation withRel(Rel rel)
public LinkRepresentation withHref(String href)
public JsonRepresentation getValue()
public LinkRepresentation withTitle(String title)
public RestfulHttpMethod getHttpMethod()
public javax.ws.rs.core.MediaType getType()
public LinkRepresentation withMethod(RestfulHttpMethod httpMethod)
public JsonRepresentation getArguments()
If there is no "arguments" node, then as a convenience will return an empty map.
public <T> RestfulResponse<JsonRepresentation> follow(org.jboss.resteasy.client.ClientExecutor executor) throws Exception
Exceptionpublic <T extends JsonRepresentation> RestfulResponse<T> follow(org.jboss.resteasy.client.ClientExecutor executor, JsonRepresentation requestArgs) throws Exception
Exceptionpublic int hashCode()
hashCode in class JsonRepresentationpublic boolean equals(Object obj)
equals in class JsonRepresentationpublic String toString()
toString in class JsonRepresentationCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.