com.quadrique.jbuildingblocks.core.io.socket.client
Class JbbXmlOverHttpHandler
java.lang.Object
com.quadrique.jbuildingblocks.core.io.socket.client.JbbXmlOverHttpHandler
Deprecated.
public class JbbXmlOverHttpHandler
- extends Object
- Version:
- 1.0.0
- Author:
- Hervé Rivere
JbbXmlOverHttpHandler
public JbbXmlOverHttpHandler()
- Deprecated.
- constructor
getInstance
public static JbbXmlOverHttpHandler getInstance()
- Deprecated.
- Returns:
- an instance of the XmlOverHttpHandler class. If there has
been already one instantiation, the same instance is returned so that
it can be shared across the application.
A typical usage would be:
XmlOverHttpHandler.getInstance().xxx()
or
XmlOverHttpHandler lXmlOverHttpHandler = XmlOverHttpHandler.getInstance();
getUrl
public URL getUrl(String zUrlString)
throws Exception
- Deprecated.
- Parameters:
zUrlString - the URL in string fromat
- Returns:
- the URL instance
- Throws:
Exception
performQuery
public String performQuery(String zUrlString,
String zStringBody,
int zTimeOut)
throws Exception
- Deprecated.
- Parameters:
zUrlString - the URLzStringBody - the xml body (i.e. put in the body of an HTTP POST queryzTimeOut - the number of seconds to wait before timing out
- Returns:
- the string that contains the response
- Throws:
Exception
Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.