|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoemware.core.util.HttpUtils
public final class HttpUtils
The http utils.
| Constructor Summary | |
|---|---|
HttpUtils()
|
|
| Method Summary | |
|---|---|
static byte[] |
readContent(java.lang.String pUrl,
int pConnectTimeout,
int pReadTimeout,
java.lang.String pUserAgent,
int pReadBufferSize,
int pRemoteReadBlockSize)
Opens an http connection and tries to read the contents. |
static byte[] |
readPageContent(java.lang.String pUrl)
Opens an http connection and tries to read the page content. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpUtils()
| Method Detail |
|---|
public static final byte[] readPageContent(java.lang.String pUrl)
throws java.io.IOException
pUrl - The url.
java.io.IOException
public static final byte[] readContent(java.lang.String pUrl,
int pConnectTimeout,
int pReadTimeout,
java.lang.String pUserAgent,
int pReadBufferSize,
int pRemoteReadBlockSize)
throws java.io.IOException
pUrl - The url.pConnectTimeout - The connection timeout.pReadTimeout - The read timeout.pUserAgent - The user agent.
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||