|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.connectors.bku.BKUPostConnection
Helper class with methods that use the Apache Https Client to send HTTP requests.
| Field Summary | |
static String |
BKU_SERVER_HEADER_KEY
The response Properties key that identifies the BKU Server header. |
static String |
BKU_SIGNATURE_LAYOUT_HEADER_KEY
The response property that declares the signature layout being applied. |
static String |
BKU_USER_AGENT_HEADER_KEY
The response Properties key that identifies the BKU User-Agent header. |
static String |
RESPONSE_STRING_KEY
The response Properties key that identifies the response string. |
| Constructor Summary | |
BKUPostConnection()
|
|
| Method Summary | |
static Properties |
doPostRequestMultipart(String url,
String request,
SignatureData data)
Sends a multipart/form-data HTTP Post request to the given URL. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String RESPONSE_STRING_KEY
public static final String BKU_SERVER_HEADER_KEY
public static final String BKU_SIGNATURE_LAYOUT_HEADER_KEY
public static final String BKU_USER_AGENT_HEADER_KEY
| Constructor Detail |
public BKUPostConnection()
| Method Detail |
public static Properties doPostRequestMultipart(String url,
String request,
SignatureData data)
throws org.apache.commons.httpclient.HttpException,
IOException
url - The url the request is directed to.request - The request XML, which will be the UTF-8 text/xml first part of the message.data - The binary second part of the message.
org.apache.commons.httpclient.HttpException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||