1 16 17 package org.apache.axis.client; 18 19 import org.apache.axis.AxisEngine; 20 import org.apache.axis.AxisFault; 21 import org.apache.axis.MessageContext; 22 23 public class Transport { 24 25 28 public String transportName = null ; 29 30 33 public String url = null; 34 35 public final void setupMessageContext(MessageContext context, 36 Call message, 37 AxisEngine engine) 38 throws AxisFault 39 { 40 if (url != null) 41 context.setProperty(MessageContext.TRANS_URL, url); 42 43 if (transportName != null) 44 context.setTransportName(transportName); 45 46 setupMessageContextImpl(context, message, engine); 47 } 48 49 public void setupMessageContextImpl(MessageContext context, 50 Call message, 51 AxisEngine engine) 52 throws AxisFault 53 { 54 } 56 57 61 public void processReturnedMessageContext(MessageContext context) 62 { 63 } 65 66 70 public void setTransportName(String name) { 71 transportName = name ; 72 } 73 74 78 public String getTransportName() { 79 return( transportName ); 80 } 81 82 85 public String getUrl() { 86 return url; 87 } 88 89 92 public void setUrl(String url) { 93 this.url = url; 94 } 95 } 96 97 98 | Popular Tags |