|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.dotmarketing.util.ups.UPSConnections
public class UPSConnections
The UPSConnections will transmit an HTTP/HTTPS post with the StringBuffer provided as the data of the post message. The UPSConnections must be constructed with a URL or IP address and a protocol to use for transmitting the message.
| Constructor Summary | |
|---|---|
UPSConnections()
|
|
| Method Summary | |
|---|---|
static java.lang.StringBuffer |
accessXMLRequest()
This xml is obligatory to use. |
java.lang.String |
contactService(java.lang.String service,
java.lang.StringBuffer xmlRequest)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UPSConnections()
| Method Detail |
|---|
public java.lang.String contactService(java.lang.String service,
java.lang.StringBuffer xmlRequest)
throws java.lang.Exception
service - This field indicate the url page tools to acces in this case "Rate" is the value to usexmlRequest - is the XML Request
java.lang.Exceptionpublic static java.lang.StringBuffer accessXMLRequest()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||