public class ContextResourceClient extends Object
Constructor and Description |
---|
ContextResourceClient() |
public ContextResourceClient onError(ResponseHandler handler)
public <T> ContextResourceClient onResource(ResultHandler<T> handler)
public ContextResourceClient onQuery(String relation, ResponseHandler handler)
public <T> ContextResourceClient onQuery(String relation, ResultHandler<T> handler)
public ContextResourceClient onCommand(String relation, ResponseHandler handler)
public <T> ContextResourceClient onCommand(String relation, ResultHandler<T> handler)
public ContextResourceClient onProcessingError(String relation, ResponseHandler handler)
public <T> ContextResourceClient onProcessingError(String relation, ResultHandler<T> handler)
public ContextResourceClient onDelete(ResponseHandler handler)
public ContextResourceClientFactory getContextResourceClientFactory()
public org.restlet.data.Reference getReference()
public Resource getResource()
public void start()
public HandlerCommand delete(ResponseHandler responseHandler, ResponseHandler processingErrorHandler) throws org.restlet.resource.ResourceException
org.restlet.resource.ResourceException
public ContextResourceClient newClient(Link link)
public ContextResourceClient newClient(String relativePath)