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
V1Exception
MalformedURLException
public static V1Connector.ISetUserAgentMakeRequest withInstanceUrl(String instanceUrl) throws V1Exception, MalformedURLException
V1Exception
MalformedURLException
protected Reader getData() throws ConnectionException
ConnectionException
protected Reader getData(String path) throws ConnectionException
ConnectionException
protected InputStream getAttachment(String path) throws ConnectionException
ConnectionException
protected Reader sendData(String path, Object data) throws ConnectionException
ConnectionException
protected OutputStream beginRequest(String path, String contentType) throws ConnectionException
ConnectionException
protected InputStream endRequest(String path) throws ConnectionException
ConnectionException
public 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 © 2015 VersionOne, Inc.. All rights reserved.