java.lang.Object
org.chiba.xml.xforms.connector.AbstractConnector
org.chiba.xml.xforms.connector.http.AbstractHTTPConnector
org.chiba.xml.xforms.connector.http.HTTPSubmissionDriver
- All Implemented Interfaces:
- org.chiba.xml.xforms.connector.Connector, org.chiba.xml.xforms.connector.SubmissionDriver
- public class HTTPSubmissionDriver
- extends AbstractHTTPConnector
- implements org.chiba.xml.xforms.connector.SubmissionDriver
The HTTP submission driver serializes and submits instance data over HTTP/1.1.
Currently, the driver supports the post and put
submission methods. Support for get, form-data-post
and urlencoded-post as suggested in
11.2 Submission Options
is on the way.
Maybe security functionality will be added later, thus becoming a HTTPS driver.
See the '/web/forms/action.xml'-form for examples how to use HTTP submission.
- Version:
- $Id: HTTPSubmissionDriver.java,v 1.5 2003/09/04 23:07:55 joernt Exp $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.chiba.xml.xforms.connector.Connector |
setURI |
LOGGER
private static final org.apache.log4j.Category LOGGER
- The logger.
HTTPSubmissionDriver
public HTTPSubmissionDriver()
submit
public java.util.Map submit(org.chiba.xml.xforms.Submission submission,
org.w3c.dom.Node instance)
throws org.chiba.xml.xforms.exception.XFormsException
- Serializes and submits the specified instance data over the
http protocol.
- Specified by:
submit in interface org.chiba.xml.xforms.connector.SubmissionDriver
toXML
private java.lang.String toXML(org.w3c.dom.Node instance)
throws java.lang.Exception