public class V1Connector extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
V1Connector.IAuthenticationMethods |
static interface |
V1Connector.IBuild |
static interface |
V1Connector.IProxy |
static interface |
V1Connector.IsetEndpoint |
static interface |
V1Connector.IsetEndPointOrConnector |
static interface |
V1Connector.IsetProxyOrConnector |
static interface |
V1Connector.IsetProxyOrEndPointOrConnector |
static interface |
V1Connector.ISetUserAgentMakeRequest |
| Modifier | Constructor and Description |
|---|---|
protected |
V1Connector(String instanceUrl) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputStream |
beginRequest(String path,
String contentType) |
protected InputStream |
endRequest(String path) |
protected InputStream |
getAttachment(String path) |
protected Reader |
getData() |
protected Reader |
getData(String path) |
protected Reader |
sendData(String path,
Object data) |
Reader |
sendData(String key,
Object data,
String contentType) |
String |
stringSendData(String data,
String contentType) |
void |
useAttachmentApi() |
void |
useConfigAPI() |
void |
useDataAPI() |
void |
useEmbeddedApi() |
void |
useHistoryAPI() |
void |
useLoc2API() |
void |
useLocAPI() |
void |
useMetaAPI() |
void |
useNewAPI() |
void |
useQueryAPI() |
static V1Connector.ISetUserAgentMakeRequest |
withInstanceUrl(String instanceUrl) |
protected V1Connector(String instanceUrl) throws V1Exception, MalformedURLException
V1ExceptionMalformedURLExceptionpublic static V1Connector.ISetUserAgentMakeRequest withInstanceUrl(String instanceUrl) throws V1Exception, MalformedURLException
V1ExceptionMalformedURLExceptionprotected Reader getData() throws ConnectionException
ConnectionExceptionprotected Reader getData(String path) throws ConnectionException
ConnectionExceptionprotected InputStream getAttachment(String path) throws ConnectionException
ConnectionExceptionprotected Reader sendData(String path, Object data) throws ConnectionException
ConnectionExceptionprotected OutputStream beginRequest(String path, String contentType) throws ConnectionException
ConnectionExceptionprotected InputStream endRequest(String path) throws ConnectionException
ConnectionExceptionpublic void useMetaAPI()
public void useDataAPI()
public void useNewAPI()
public void useHistoryAPI()
public void useQueryAPI()
public void useLocAPI()
public void useLoc2API()
public void useConfigAPI()
public void useAttachmentApi()
public void useEmbeddedApi()
Copyright © 2016 VersionOne, Inc.. All rights reserved.