org.apache.isis.viewer.restfulobjects.applib
Class RestfulClient
java.lang.Object
org.apache.isis.viewer.restfulobjects.applib.RestfulClient
public class RestfulClient
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestfulClient
public RestfulClient(URI baseUri)
RestfulClient
public RestfulClient(URI baseUri,
org.jboss.resteasy.client.ClientExecutor clientExecutor)
getHomePageResource
public HomePageResource getHomePageResource()
getUserResource
public UserResource getUserResource()
getVersionResource
public VersionResource getVersionResource()
getDomainTypeResource
public DomainTypeResource getDomainTypeResource()
getDomainObjectResource
public DomainObjectResource getDomainObjectResource()
getDomainServiceResource
public DomainServiceResource getDomainServiceResource()
createWalker
public RepresentationWalker createWalker(javax.ws.rs.core.Response response)
follow
public RestfulResponse<JsonRepresentation> follow(LinkRepresentation link)
throws Exception
- Throws:
Exception
followT
public <T extends JsonRepresentation> RestfulResponse<T> followT(LinkRepresentation link)
throws Exception
- Throws:
Exception
follow
public RestfulResponse<JsonRepresentation> follow(LinkRepresentation link,
JsonRepresentation requestArgs)
throws Exception
- Throws:
Exception
followT
public <T extends JsonRepresentation> RestfulResponse<T> followT(LinkRepresentation link,
JsonRepresentation requestArgs)
throws Exception
- Throws:
Exception
createRequest
public RestfulRequest createRequest(HttpMethod httpMethod,
String uriTemplate)
getClientRequestFactory
public org.jboss.resteasy.client.ClientRequestFactory getClientRequestFactory()
- exposed for testing purposes only.
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.