|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IHttpExecutor
Method Summary | |
---|---|
java.lang.String |
executeGetRequest(java.lang.String targetURL,
boolean invalidateSession)
requests for a post on the url specified by target url with the parameters specified in the requestparams |
java.lang.String |
executeMultiPartPOST(java.lang.String urlString,
java.util.Map<java.lang.String,java.lang.String> map)
This hits the target URL with the post data using the JSESSIONID. |
java.lang.String |
executePost(java.lang.String targetURL,
java.lang.String postData,
boolean invalidateSession)
This hits the target URL with the post data using the JSESSIONID. |
boolean |
setHttpSessionInfo(java.net.URLConnection conn,
boolean invalidateSession)
This saves http session information for subsequence invocation. |
java.lang.String |
uploadFile(java.lang.String urlString,
java.lang.String exsistingFileName)
This uploads a file to the target URL. |
Method Detail |
---|
java.lang.String executePost(java.lang.String targetURL, java.lang.String postData, boolean invalidateSession) throws java.lang.Exception
targetURL
- target url to hitdata
- post datajsessionid
- used for standard j2ee session management.
java.lang.Exception
java.lang.String executeGetRequest(java.lang.String targetURL, boolean invalidateSession) throws java.lang.Exception
targetURL
- invalidateSession
- if true discard the jsessionid parameter
java.lang.Exception
java.lang.String executeMultiPartPOST(java.lang.String urlString, java.util.Map<java.lang.String,java.lang.String> map) throws java.lang.Exception
targetURL
- target url to hitdata
- post datajsessionid
- used for standard j2ee session management.
java.lang.Exception
java.lang.String uploadFile(java.lang.String urlString, java.lang.String exsistingFileName) throws java.lang.Exception
urlString
- target URL to hitexsistingFileName
- name of the file to uploadjsessionid
- JSESSIONID to use
java.lang.Exception
boolean setHttpSessionInfo(java.net.URLConnection conn, boolean invalidateSession)
conn
- httpconnectioninvalidateSession
- should logout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |