Package jetbrains.buildServer.xmlrpc
Interface XmlRpcTarget
-
- All Known Implementing Classes:
AbstractXmlRpcTarget
,CommonsXmlRpcTargetImpl
,XmlRpcTargetImpl
public interface XmlRpcTarget
- Author:
- Kir
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
XmlRpcTarget.Cancelable
static class
XmlRpcTarget.ProcessCanceledException
static interface
XmlRpcTarget.XmlRpcCredentialsProvider
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Object[]
EMPTY_PARAMETERS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
call(java.lang.String method, java.lang.Object[] parameters)
java.lang.Object
call(java.lang.String method, java.lang.Object[] parameters, XmlRpcTarget.Cancelable cancelable)
java.lang.String
describeMe()
void
dispose()
Disposes possible pending keep-alive connections and executor threads The difference with disposeConnections() is that this method fully disposes XmlRpcTarget and it cannot be longer usedvoid
disposeConnections()
This method must be called to dispose possible pending keep-alive connectionsjava.lang.String
getServerURL()
java.lang.String
getUserAgent()
void
setCredentialsProvider(XmlRpcTarget.XmlRpcCredentialsProvider provider)
void
setProxy(java.lang.String proxyHost, int proxyPort)
void
setProxyCredentials(java.lang.String username, java.lang.String password)
-
-
-
Method Detail
-
call
java.lang.Object call(java.lang.String method, java.lang.Object[] parameters, XmlRpcTarget.Cancelable cancelable) throws RemoteCallException, XmlRpcTarget.ProcessCanceledException
-
call
java.lang.Object call(java.lang.String method, java.lang.Object[] parameters) throws RemoteCallException
- Throws:
RemoteCallException
-
describeMe
java.lang.String describeMe()
-
getServerURL
java.lang.String getServerURL()
-
getUserAgent
java.lang.String getUserAgent()
-
disposeConnections
void disposeConnections()
This method must be called to dispose possible pending keep-alive connections- See Also:
dispose()
-
dispose
void dispose()
Disposes possible pending keep-alive connections and executor threads The difference with disposeConnections() is that this method fully disposes XmlRpcTarget and it cannot be longer used- Since:
- 10.0.5
- See Also:
disposeConnections()
-
setCredentialsProvider
void setCredentialsProvider(XmlRpcTarget.XmlRpcCredentialsProvider provider)
-
setProxy
void setProxy(java.lang.String proxyHost, int proxyPort)
-
setProxyCredentials
void setProxyCredentials(java.lang.String username, java.lang.String password)
-
-