protected OutputStream getOutputStream(Object context) throws IOException {
HttpConnection conn = (HttpConnection) context;
conn.setRequestMethod(HttpConnection.POST);
conn.setRequestProperty("Content-Type", "application/hprose");
OutputStream ostream = conn.openOutputStream();
return ostream;
}
protected void sendData(OutputStream ostream, Object context, boolean success) throws IOException {
ostream.flush();