| Modifier and Type | Class and Description |
|---|---|
class |
LinkRepresentation |
| Modifier and Type | Method and Description |
|---|---|
<T extends JsonRepresentation> |
JsonRepresentation.as(Class<T> cls)
Convenience to simply "downcast".
|
<T extends JsonRepresentation> |
LinkRepresentation.follow(org.jboss.resteasy.client.ClientExecutor executor,
JsonRepresentation requestArgs) |
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
JsonRepresentation.arrayAdd(boolean value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(double value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(float value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(int value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(org.codehaus.jackson.JsonNode value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(JsonRepresentation value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(long value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(Object value) |
JsonRepresentation |
JsonRepresentation.arrayAdd(String value) |
JsonRepresentation |
JsonRepresentation.arrayGet(int i) |
JsonRepresentation |
JsonRepresentation.arraySetElementAt(int i,
JsonRepresentation objectRepr) |
JsonRepresentation |
JsonRepresentation.asArray() |
JsonRepresentation |
JsonRepresentation.asMap() |
JsonRepresentation |
JsonRepresentation.asNull()
Either returns a
JsonRepresentation that indicates that the
wrapped node has null value (ie
isNull()), or returns null if there
was no node with the provided path. |
JsonRepresentation |
JsonRepresentation.ensureArray()
A reciprocal of the behaviour of the automatic dereferencing of arrays
that occurs when there is only a single instance.
|
JsonRepresentation |
LinkRepresentation.getArguments()
Returns the "arguments" json-property of the link (a map).
|
JsonRepresentation |
JsonRepresentation.getArray(String path) |
JsonRepresentation |
JsonRepresentation.getArrayEnsured(String path) |
JsonRepresentation |
JsonRepresentation.HasExtensions.getExtensions() |
JsonRepresentation |
JsonRepresentation.HasLinks.getLinks() |
JsonRepresentation |
JsonRepresentation.getMap(String path) |
JsonRepresentation |
JsonRepresentation.getNull(String path)
Either returns a
JsonRepresentation that indicates that the
wrapped node has null value (ie
isNull()), or returns null if there
was no node with the provided path. |
JsonRepresentation |
JsonRepresentation.getRepresentation(String pathTemplate,
Object... args) |
JsonRepresentation |
LinkRepresentation.getValue() |
JsonRepresentation |
JsonRepresentation.mapPut(Iterable<Map.Entry<String,JsonRepresentation>> entries) |
JsonRepresentation |
JsonRepresentation.mapPut(Map.Entry<String,JsonRepresentation> entry) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
BigDecimal value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
BigInteger value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
boolean value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Boolean value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
byte value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Byte value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
char value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Character value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
double value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Double value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
float value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Float value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
int value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Integer value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
org.codehaus.jackson.JsonNode value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
JsonRepresentation value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
List<Object> value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
long value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Long value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Object value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
short value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
Short value) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
String value) |
static JsonRepresentation |
JsonRepresentation.newArray() |
static JsonRepresentation |
JsonRepresentation.newArray(int initialSize) |
static JsonRepresentation |
JsonRepresentation.newMap(String... keyValuePairs) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<JsonRepresentation> |
JsonRepresentation.arrayIterable() |
Iterator<JsonRepresentation> |
JsonRepresentation.arrayIterator() |
<T> RestfulResponse<JsonRepresentation> |
LinkRepresentation.follow(org.jboss.resteasy.client.ClientExecutor executor) |
Class<? extends JsonRepresentation> |
RepresentationType.getRepresentationClass() |
Iterable<Map.Entry<String,JsonRepresentation>> |
JsonRepresentation.mapIterable() |
Iterator<Map.Entry<String,JsonRepresentation>> |
JsonRepresentation.mapIterator() |
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
JsonRepresentation.arrayAdd(JsonRepresentation value) |
JsonRepresentation |
JsonRepresentation.arraySetElementAt(int i,
JsonRepresentation objectRepr) |
<T extends JsonRepresentation> |
LinkRepresentation.follow(org.jboss.resteasy.client.ClientExecutor executor,
JsonRepresentation requestArgs) |
JsonRepresentation |
JsonRepresentation.mapPut(String key,
JsonRepresentation value) |
void |
RestfulHttpMethod.setUpArgs(ClientRequestConfigurer clientRequestConfigurer,
JsonRepresentation requestArgs)
It's a bit nasty that we need to ask for the
UriBuilderImpl as
well as the ClientRequest, but that's because the
ClientRequest does not allow us to setup raw query strings (only
query name/arg pairs) |
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
JsonRepresentation.mapPut(Iterable<Map.Entry<String,JsonRepresentation>> entries) |
JsonRepresentation |
JsonRepresentation.mapPut(Map.Entry<String,JsonRepresentation> entry) |
| Modifier and Type | Method and Description |
|---|---|
<T extends JsonRepresentation> |
RestfulRequest.executeT() |
<T extends JsonRepresentation> |
RestfulClient.followT(LinkRepresentation link) |
<T extends JsonRepresentation> |
RestfulClient.followT(LinkRepresentation link,
JsonRepresentation requestArgs) |
static <T extends JsonRepresentation> |
RestfulResponse.ofT(javax.ws.rs.core.Response response) |
<Q extends JsonRepresentation> |
RestfulResponse.wraps(Class<Q> cls)
Convenience that recasts this response as wrapping some other
representation.
|
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
RepresentationWalker.getEntity()
The entity returned from the previous walk.
|
| Modifier and Type | Method and Description |
|---|---|
RestfulResponse<JsonRepresentation> |
RestfulRequest.execute() |
RestfulResponse<JsonRepresentation> |
RestfulClient.follow(LinkRepresentation link) |
RestfulResponse<JsonRepresentation> |
RestfulClient.follow(LinkRepresentation link,
JsonRepresentation requestArgs) |
static RestfulResponse<JsonRepresentation> |
RestfulResponse.of(javax.ws.rs.core.Response response) |
| Modifier and Type | Method and Description |
|---|---|
ClientRequestConfigurer |
ClientRequestConfigurer.body(JsonRepresentation requestArgs)
|
ClientRequestConfigurer |
ClientRequestConfigurer.configureArgs(JsonRepresentation requestArgs)
Used when following links (
RestfulClient.follow(LinkRepresentation)). |
RestfulResponse<JsonRepresentation> |
RestfulClient.follow(LinkRepresentation link,
JsonRepresentation requestArgs) |
<T extends JsonRepresentation> |
RestfulClient.followT(LinkRepresentation link,
JsonRepresentation requestArgs) |
ClientRequestConfigurer |
ClientRequestConfigurer.queryArgs(JsonRepresentation requestArgs)
|
ClientRequestConfigurer |
ClientRequestConfigurer.queryString(JsonRepresentation requestArgs)
|
Q |
RestfulRequest.RequestParameter.valueOf(JsonRepresentation parameterRepresentation) |
void |
RepresentationWalker.walk(String path,
JsonRepresentation invokeBody) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractObjectMemberRepresentation |
class |
ActionResultRepresentation |
class |
DomainObjectMemberRepresentation
Represents the members within the
DomainObjectRepresentation's members
map. |
class |
DomainObjectRepresentation |
class |
DomainRepresentation |
class |
ListRepresentation |
class |
ObjectActionRepresentation |
class |
ObjectCollectionRepresentation |
class |
ObjectPropertyRepresentation |
class |
ScalarValueRepresentation |
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
DomainObjectRepresentation.getActions() |
JsonRepresentation |
DomainObjectRepresentation.getCollections() |
JsonRepresentation |
DomainRepresentation.getExtensions() |
JsonRepresentation |
DomainRepresentation.getLinks() |
JsonRepresentation |
DomainObjectRepresentation.getMembers() |
JsonRepresentation |
DomainObjectRepresentation.getProperties() |
JsonRepresentation |
ActionResultRepresentation.getResult() |
JsonRepresentation |
ScalarValueRepresentation.getValue() |
JsonRepresentation |
ObjectCollectionRepresentation.getValue() |
JsonRepresentation |
ListRepresentation.getValue() |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractTypeMemberRepresentation |
class |
ActionDescriptionRepresentation |
class |
ActionParameterDescriptionRepresentation |
class |
CollectionDescriptionRepresentation |
class |
DomainTypeRepresentation |
class |
PropertyDescriptionRepresentation |
class |
TypeActionResultRepresentation |
class |
TypeListRepresentation |
| Modifier and Type | Class and Description |
|---|---|
class |
ErrorRepresentation |
| Modifier and Type | Class and Description |
|---|---|
class |
HomePageRepresentation |
| Modifier and Type | Class and Description |
|---|---|
class |
UserRepresentation |
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
UserRepresentation.getRoles() |
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
Parser.asJsonRepresentation(T t) |
JsonRepresentation |
JsonMapper.read(String json) |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
JsonNodeUtils.asInputStream(JsonRepresentation jsonRepresentation) |
boolean |
PathNode.matches(JsonRepresentation repr) |
static String |
UrlEncodingUtils.urlEncode(JsonRepresentation jsonRepresentation) |
T |
Parser.valueOf(JsonRepresentation jsonRepresentation) |
| Modifier and Type | Class and Description |
|---|---|
class |
VersionRepresentation |
| Modifier and Type | Method and Description |
|---|---|
JsonRepresentation |
VersionRepresentation.getOptionalCapabilities() |
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.