|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.j4ee.webloader.net.Networker
public class Networker
This class provides mechanism to call back the server to submit basic data about the function of the applet on clientside.
There is no Warranty
| Field Summary | |
|---|---|
java.lang.String |
AGENT
|
boolean |
fillRefererWithPreviousUsedUrl
|
static int |
FOLLOWMODE_DETAILED
|
static int |
FOLLOWMODE_HIDDEN
|
static int |
FOLLOWMODE_NOFOLLOW
|
java.io.OutputStream |
outputStream
If Outputstream is set, the output would be streamed there (line based) |
static java.lang.String |
PLAIN_BODY_KEY
|
boolean |
streamOnly
If set to true the output of the request would be only streamed to defined outputstream (Redirected) |
java.lang.Integer |
TIMEOUT
|
boolean |
trace
|
| Constructor Summary | |
|---|---|
Networker(boolean ssl)
Constructor |
|
| Method Summary | |
|---|---|
NetResult |
getNetResult()
Retrieves NetResult |
java.lang.String |
send(java.net.URL url,
java.util.Map postprops,
CookieHolder si,
java.util.Map requestProperties,
int followMode)
Sends data to URL |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String AGENT
public java.lang.Integer TIMEOUT
public boolean trace
public java.io.OutputStream outputStream
public boolean streamOnly
public boolean fillRefererWithPreviousUsedUrl
public static final int FOLLOWMODE_NOFOLLOW
public static final int FOLLOWMODE_HIDDEN
public static final int FOLLOWMODE_DETAILED
public static final java.lang.String PLAIN_BODY_KEY
| Constructor Detail |
|---|
public Networker(boolean ssl)
| Method Detail |
|---|
public NetResult getNetResult()
public java.lang.String send(java.net.URL url,
java.util.Map postprops,
CookieHolder si,
java.util.Map requestProperties,
int followMode)
url - destination-URLpostprops - Post-data as key-value-pairs or plain using <BODY>(PlainBodyKey) as key.si - Cookieholder containg cookies to be send alongrequestProperties - used to set requestProperties to the connection
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||