Package jetbrains.buildServer.xmlrpc
Class AbstractXmlRpcTarget
- java.lang.Object
-
- jetbrains.buildServer.xmlrpc.AbstractXmlRpcTarget
-
- All Implemented Interfaces:
XmlRpcTarget
- Direct Known Subclasses:
CommonsXmlRpcTargetImpl
,XmlRpcTargetImpl
public abstract class AbstractXmlRpcTarget extends java.lang.Object implements XmlRpcTarget
- Author:
- Pavel.Sher Date: 18.01.2007
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jetbrains.buildServer.xmlrpc.XmlRpcTarget
XmlRpcTarget.Cancelable, XmlRpcTarget.ProcessCanceledException, XmlRpcTarget.XmlRpcCredentialsProvider
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.xmlrpc.XmlRpcTarget
EMPTY_PARAMETERS
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractXmlRpcTarget(java.lang.String serverUrl, java.lang.String userAgent)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete 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)
protected void
callWithCancelable(java.lang.String method, java.lang.Object[] parameters, java.lang.Object[] result, XmlRpcTarget.Cancelable cancelable)
java.lang.String
describeMe()
void
dispose()
Disposes possible pending keep-alive connections and executor threads The difference with XmlRpcTarget.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 connectionsboolean
equals(java.lang.Object o)
abstract org.apache.xmlrpc.XmlRpcClient
getClient()
java.lang.String
getServerURL()
java.lang.String
getUserAgent()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.xmlrpc.XmlRpcTarget
setCredentialsProvider, setProxy, setProxyCredentials
-
-
-
-
Method Detail
-
getServerURL
public java.lang.String getServerURL()
- Specified by:
getServerURL
in interfaceXmlRpcTarget
-
getUserAgent
public java.lang.String getUserAgent()
- Specified by:
getUserAgent
in interfaceXmlRpcTarget
-
getClient
public abstract org.apache.xmlrpc.XmlRpcClient getClient()
-
disposeConnections
public void disposeConnections()
Description copied from interface:XmlRpcTarget
This method must be called to dispose possible pending keep-alive connections- Specified by:
disposeConnections
in interfaceXmlRpcTarget
- See Also:
XmlRpcTarget.dispose()
-
dispose
public void dispose()
Description copied from interface:XmlRpcTarget
Disposes possible pending keep-alive connections and executor threads The difference with XmlRpcTarget.disposeConnections() is that this method fully disposes XmlRpcTarget and it cannot be longer used- Specified by:
dispose
in interfaceXmlRpcTarget
- See Also:
XmlRpcTarget.disposeConnections()
-
call
public java.lang.Object call(java.lang.String method, java.lang.Object[] parameters, XmlRpcTarget.Cancelable cancelable) throws RemoteCallException, XmlRpcTarget.ProcessCanceledException
- Specified by:
call
in interfaceXmlRpcTarget
- Throws:
RemoteCallException
XmlRpcTarget.ProcessCanceledException
-
call
public java.lang.Object call(java.lang.String method, java.lang.Object[] parameters) throws RemoteCallException
- Specified by:
call
in interfaceXmlRpcTarget
- Throws:
RemoteCallException
-
describeMe
public java.lang.String describeMe()
- Specified by:
describeMe
in interfaceXmlRpcTarget
-
callWithCancelable
protected void callWithCancelable(java.lang.String method, java.lang.Object[] parameters, java.lang.Object[] result, XmlRpcTarget.Cancelable cancelable) throws XmlRpcTarget.ProcessCanceledException
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-