|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quadrique.jbuildingblocks.core.io.socket.client.JbbHttpHandler
public class JbbHttpHandler
| Constructor Summary | |
|---|---|
JbbHttpHandler()
Deprecated. Constructor |
|
| Method Summary | |
|---|---|
static JbbHttpHandler |
getInstance()
Deprecated. This method returns an instance of the HttpHandler class. |
URL |
getUrl(String zUrlString)
Deprecated. |
byte[] |
performHttpGetQuery(URL zUrl,
int zTimeOut)
Deprecated. |
byte[] |
performHttpPostQuery(URL zUrl,
String zContentType,
String zStringBody,
int zTimeOut)
Deprecated. |
void |
setBufferSize(int zBufferSize)
Deprecated. |
void |
setUserAgent(String zUserAgent)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JbbHttpHandler()
| Method Detail |
|---|
public static JbbHttpHandler getInstance()
public byte[] performHttpPostQuery(URL zUrl,
String zContentType,
String zStringBody,
int zTimeOut)
throws Exception
zUrl - the URLzContentType - a string describing the content type like "text/html" or "text/xml".
use null to specify "text/html" (i.e. the default). The routine will set the corresponding
HTTP header and will also make sure that the response content type matches.zStringBody - the body to ue for the POST requestzTimeOut - the maximum number of seconds to wait befoe timing out
Exception
public URL getUrl(String zUrlString)
throws Exception
zUrlString -
Exception
public byte[] performHttpGetQuery(URL zUrl,
int zTimeOut)
throws Exception
zUrl - the URLzTimeOut - the maximum number of seconds to wait befoe timing out
Exception
public void setUserAgent(String zUserAgent)
throws Exception
zUserAgent -
Exception
public void setBufferSize(int zBufferSize)
throws Exception
zBufferSize - the buffer size in bytes (4096 is the default value)
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||