| java.lang.Object mc.formgenerator.servlets.HttpRequestHandler
HttpRequestHandler | public class HttpRequestHandler implements InteractionHandler(Code) | | Default implementation for handling http servlet requests.
author: joern turner version: $Id$ |
DATA_PREFIX_DEFAULT | final public static String DATA_PREFIX_DEFAULT(Code) | | |
DATA_PREFIX_PROPERTY | final public static String DATA_PREFIX_PROPERTY(Code) | | |
REMOVE_UPLOAD_PREFIX_DEFAULT | final public static String REMOVE_UPLOAD_PREFIX_DEFAULT(Code) | | |
REMOVE_UPLOAD_PREFIX_PROPERTY | final public static String REMOVE_UPLOAD_PREFIX_PROPERTY(Code) | | |
SELECTOR_PREFIX_DEFAULT | final public static String SELECTOR_PREFIX_DEFAULT(Code) | | |
SELECTOR_PREFIX_PROPERTY | final public static String SELECTOR_PREFIX_PROPERTY(Code) | | |
TRIGGER_PREFIX_DEFAULT | final public static String TRIGGER_PREFIX_DEFAULT(Code) | | |
TRIGGER_PREFIX_PROPERTY | final public static String TRIGGER_PREFIX_PROPERTY(Code) | | |
HttpRequestHandler | public HttpRequestHandler(ChibaBean chibaBean)(Code) | | |
execute | public void execute() throws XFormsException(Code) | | executes this handler.
throws: XFormsException - |
getChibaBean | public ChibaBean getChibaBean()(Code) | | Get the value of chibaBean.
the value of chibaBean |
getRemoveUploadPrefix | final protected String getRemoveUploadPrefix()(Code) | | |
getSelectorPrefix | final public String getSelectorPrefix()(Code) | | returns the configured prefix which identifies 'selector' parameters. These are used to transport
the state of repeat indices via http.
the prefix for selector parameters from the configuration |
getTriggerPrefix | final protected String getTriggerPrefix()(Code) | | returns the prefix which is used to identify trigger parameters.
the prefix which is used to identify trigger parameters |
handleData | protected void handleData(String name, String[] values) throws XFormsException(Code) | | Parameters: name - throws: XFormsException - |
handleRequest | protected void handleRequest(HttpServletRequest request) throws XFormsException(Code) | | checks whether we have multipart or urlencoded request and processes it accordingly. After updating
the data, a reacalculate, revalidate refresh sequence is fired and the found trigger is executed.
Parameters: request - Servlet request throws: org.chiba.xml.xforms.exception.XFormsException - todo: implement action block behaviour |
handleSelector | protected void handleSelector(String name, String value) throws XFormsException(Code) | | Parameters: name - throws: XFormsException - |
processMultiPartRequest | protected String processMultiPartRequest(HttpServletRequest request, String trigger) throws XFormsException(Code) | | Parameters: request - Servlet request Parameters: trigger - Trigger control the calculated trigger throws: XFormsException - If an error occurs |
trim | protected String trim(String value)(Code) | | patch to handle linefeed duplication in textareas with some browsers.
Parameters: value - the value where linebreaks will be trimmed returns a cleaned up version of the value |
|
|