public class LoadFromREST extends Object
Constructor and Description |
---|
LoadFromREST(RESTClient.Type type) |
LoadFromREST(RESTClient.Type type,
String username,
String password) |
LoadFromREST(RESTClient client) |
Modifier and Type | Method and Description |
---|---|
String |
loadResourceAsText(String resourcePath) |
protected String |
text(String entity,
RESTClient.Type type) |
protected String |
uri(String resourcePath,
RESTClient.Type type) |
public LoadFromREST(RESTClient.Type type)
public LoadFromREST(RESTClient.Type type, String username, String password)
public LoadFromREST(RESTClient client)
protected String uri(String resourcePath, RESTClient.Type type)
protected String text(String entity, RESTClient.Type type)
Copyright © 2003–2015. All rights reserved.