|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transport
A Transport is used to make calls on a remote GRIA service. Normally, you don't want to
use this interface directly; instead, use
Conversation objects, which use this
interface internally.
| Method Summary | |
|---|---|
void |
addInvocationListener(InvocationListener invocationListener)
Add a listener to be notified of all remote operations. |
Document |
fetchWSDL(URL url,
X509Certificate expectedCertificate)
Download and parse a WSDL file. |
CertificateTrustValidator |
getCertificateTrustValidator()
Decides whether to trust a server's certificate. |
IdentityProvider |
getIdentityProvider()
Returns the configured identity provider. |
X509Certificate |
getIssuerCert()
Deprecated. use getIdentityProvider() instead |
KeyStore |
getKeyStore()
Deprecated. use getIdentityProvider() instead |
Key |
getPrivateKey()
Deprecated. use getIdentityProvider() instead |
X509Certificate |
getSubjectCert()
Deprecated. use getIdentityProvider() instead |
org.apache.commons.httpclient.methods.GetMethod |
getURL(URL url,
org.apache.commons.httpclient.Header[] extraHeaders)
Read a remote HTTP resource. |
Object |
invoke(org.apache.axis.message.addressing.EndpointReferenceType target,
RemoteMethod method,
Object[] argValues)
Invoke a SOAP method on a remote server. |
InputStream |
openURL(URL url)
Deprecated. see getURL(java.net.URL, org.apache.commons.httpclient.Header[]) |
void |
putURL(URL url,
org.apache.commons.httpclient.methods.RequestEntity entity,
org.apache.commons.httpclient.Header[] extraHeaders)
Upload some data using an HTTP PUT. |
void |
removeInvocationListener(InvocationListener invocationListener)
Remove a listener added with addInvocationListener(uk.ac.soton.ecs.iam.grid.comms.client.helpers.InvocationListener). |
void |
setIdentityProvider(IdentityProvider idp)
Set the configured identity provider. |
| Method Detail |
|---|
Object invoke(org.apache.axis.message.addressing.EndpointReferenceType target,
RemoteMethod method,
Object[] argValues)
throws RemoteException
The clientRef, serviceProviderRef and version fields of the request are filled in automatically.
target - the resource to be invokedmethod - the operation being invokedargValues - the values of the input arguments
RemoteException@Deprecated X509Certificate getSubjectCert()
getIdentityProvider() instead
@Deprecated X509Certificate getIssuerCert()
getIdentityProvider() instead
@Deprecated KeyStore getKeyStore()
getIdentityProvider() instead
@Deprecated Key getPrivateKey()
getIdentityProvider() instead
IdentityProvider getIdentityProvider()
void setIdentityProvider(IdentityProvider idp)
org.apache.commons.httpclient.methods.GetMethod getURL(URL url,
org.apache.commons.httpclient.Header[] extraHeaders)
throws IOException
HttpMethodBase.getResponseBodyAsStream() to
get a stream with the data. Make sure you call
HttpMethodBase.releaseConnection() when done.
url - the URL of the resourceextraHeaders - extra HTTP headers to include (can be null for the empty list)
IOException
void putURL(URL url,
org.apache.commons.httpclient.methods.RequestEntity entity,
org.apache.commons.httpclient.Header[] extraHeaders)
throws IOException
url - the URL of the resource to overwriteentity - the data to be uploadedextraHeaders - extra HTTP headers to include (can be null for the empty list)
IOException
@Deprecated
InputStream openURL(URL url)
throws IOException
getURL(java.net.URL, org.apache.commons.httpclient.Header[])
url - the URL of the HTTP or HTTPS resource
IOException
Document fetchWSDL(URL url,
X509Certificate expectedCertificate)
throws IOException,
SAXException,
javax.wsdl.WSDLException
url - the URL of the WSDL fileexpectedCertificate - for https connections, the SSL certificate of the server (if known)
IOException
SAXException
javax.wsdl.WSDLExceptionCertificateTrustValidator getCertificateTrustValidator()
void addInvocationListener(InvocationListener invocationListener)
void removeInvocationListener(InvocationListener invocationListener)
addInvocationListener(uk.ac.soton.ecs.iam.grid.comms.client.helpers.InvocationListener).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||