org.globus.axis.transport
Class GSIHTTPTransport

java.lang.Object
  extended by org.apache.axis.client.Transport
      extended by org.globus.axis.transport.GSIHTTPTransport
All Implemented Interfaces:
GSIConstants
Direct Known Subclasses:
HTTPSTransport

public class GSIHTTPTransport
extends org.apache.axis.client.Transport
implements GSIConstants

Extends Transport by implementing the setupMessageContext function to set HTTP-specific message context fields and transport chains. May not even be necessary if we arrange things differently somehow. Can hold state relating to URL properties.
This code is based on Axis HTTPTransport.java code.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.globus.gsi.GSIConstants
GSIConstants.CertificateType, GSIConstants.DelegationType
 
Field Summary
static java.lang.String DEFAULT_TRANSPORT_NAME
           
static java.lang.String URL
          HTTP properties
 
Fields inherited from class org.apache.axis.client.Transport
transportName, url
 
Fields inherited from interface org.globus.axis.gsi.GSIConstants
GSI_ANONYMOUS, GSI_AUTH_USERNAME, GSI_AUTHORIZATION, GSI_CONTEXT, GSI_CREDENTIALS, GSI_MODE, GSI_MODE_FULL_DELEG, GSI_MODE_LIMITED_DELEG, GSI_MODE_NO_DELEG, GSI_MODE_SSL, GSI_USER_DN
 
Fields inherited from interface org.globus.gsi.GSIConstants
AUTHZ_REQUIRED_WITH_DELEGATION, CA, DELEGATION_CHAR, DELEGATION_FULL, DELEGATION_LIMITED, DELEGATION_NONE, DELEGATION_TYPE_FULL, DELEGATION_TYPE_LIMITED, EEC, ENCRYPTION, GLOBUS_CIPHER, GSI_2_LIMITED_PROXY, GSI_2_PROXY, GSI_3_IMPERSONATION_PROXY, GSI_3_INDEPENDENT_PROXY, GSI_3_LIMITED_PROXY, GSI_3_RESTRICTED_PROXY, GSI_4_IMPERSONATION_PROXY, GSI_4_INDEPENDENT_PROXY, GSI_4_LIMITED_PROXY, GSI_4_RESTRICTED_PROXY, GSI_TRANSPORT, MODE_GSI, MODE_SSL, NONE, SIGNATURE, TRUSTED_CERTIFICATES
 
Constructor Summary
GSIHTTPTransport()
           
GSIHTTPTransport(java.lang.String url, java.lang.String action)
          helper constructor
 
Method Summary
 void processReturnedMessageContext(org.apache.axis.MessageContext context)
           
 void setupMessageContextImpl(org.apache.axis.MessageContext mc, org.apache.axis.client.Call call, org.apache.axis.AxisEngine engine)
          Set up any transport-specific derived properties in the message context.
 
Methods inherited from class org.apache.axis.client.Transport
getTransportName, getUrl, setTransportName, setupMessageContext, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TRANSPORT_NAME

public static final java.lang.String DEFAULT_TRANSPORT_NAME
See Also:
Constant Field Values

URL

public static final java.lang.String URL
HTTP properties

See Also:
Constant Field Values
Constructor Detail

GSIHTTPTransport

public GSIHTTPTransport()

GSIHTTPTransport

public GSIHTTPTransport(java.lang.String url,
                        java.lang.String action)
helper constructor

Method Detail

setupMessageContextImpl

public void setupMessageContextImpl(org.apache.axis.MessageContext mc,
                                    org.apache.axis.client.Call call,
                                    org.apache.axis.AxisEngine engine)
                             throws org.apache.axis.AxisFault
Set up any transport-specific derived properties in the message context.

Overrides:
setupMessageContextImpl in class org.apache.axis.client.Transport
Parameters:
mc - the context to set up
call - the client service instance
engine - the engine containing the registries
Throws:
org.apache.axis.AxisFault - if service cannot be found

processReturnedMessageContext

public void processReturnedMessageContext(org.apache.axis.MessageContext context)
Overrides:
processReturnedMessageContext in class org.apache.axis.client.Transport


Copyright © 2013. All Rights Reserved.