|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jdon.bussinessproxy.remote.http.HttpConnectionHelper
public class HttpConnectionHelper
| Field Summary | |
|---|---|
static java.lang.String |
module
|
| Constructor Summary | |
|---|---|
HttpConnectionHelper()
|
|
| Method Summary | |
|---|---|
java.net.HttpURLConnection |
connectLogin(HttpServerParam httpServerParam,
java.lang.String UserPassword)
连接Http Server? 准备传?HttpServletRequest |
java.net.HttpURLConnection |
connectService(HttpServerParam httpServerParam,
java.lang.String userPassword)
连接Http Server? 准备传?serialized-object |
java.lang.Object |
getObjectResponse(java.net.HttpURLConnection httpURLConnection)
从回复中获取Object |
java.lang.String |
getStringResponse(java.net.HttpURLConnection httpURLConnection)
|
void |
sendDataRequest(java.net.HttpURLConnection httpURLConnection,
java.util.Hashtable param)
将字符串发往Http |
void |
sendObjectRequest(java.net.HttpURLConnection httpURLConnection,
java.lang.Object request)
将可序列化Object发往Http Server |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String module
| Constructor Detail |
|---|
public HttpConnectionHelper()
| Method Detail |
|---|
public java.net.HttpURLConnection connectService(HttpServerParam httpServerParam,
java.lang.String userPassword)
throws java.lang.Exception
httpServerParam -
java.lang.Exception
public java.net.HttpURLConnection connectLogin(HttpServerParam httpServerParam,
java.lang.String UserPassword)
throws java.lang.Exception
httpServerParam -
java.lang.Exception
public void sendObjectRequest(java.net.HttpURLConnection httpURLConnection,
java.lang.Object request)
throws java.lang.Exception
httpURLConnection - request -
java.lang.Exception
public void sendDataRequest(java.net.HttpURLConnection httpURLConnection,
java.util.Hashtable param)
throws java.lang.Exception
httpURLConnection - sendText -
java.lang.Exception
public java.lang.Object getObjectResponse(java.net.HttpURLConnection httpURLConnection)
throws java.lang.Exception
httpURLConnection -
java.lang.Exception
public java.lang.String getStringResponse(java.net.HttpURLConnection httpURLConnection)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||