| 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.arrayGet(int i) |
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() |
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 |
|---|---|
void |
JsonRepresentation.arrayAdd(JsonRepresentation value) |
void |
JsonRepresentation.arraySetElementAt(int i,
JsonRepresentation objectRepr) |
<T extends JsonRepresentation> |
LinkRepresentation.follow(org.jboss.resteasy.client.ClientExecutor executor,
JsonRepresentation requestArgs) |
void |
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 |
|---|---|
<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 |
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-2013 The Apache Software Foundation. All Rights Reserved.