Package org.araneaframework

Examples of org.araneaframework.InputData


  public void setResponse(HttpServletResponse res) {
    this.res = res;
  }

  public InputData getCurrentInputData() {
    InputData inputData = (InputData)req.getAttribute(StandardServletServiceAdapterComponent.INPUT_DATA_REQUEST_ATTRIBUTE);
    if (inputData == null)
      throw new NoCurrentInputDataSetException("No InputData set in the request.");
    else
      return inputData;
  }
View Full Code Here


  protected void event(Path path, InputData input) throws Exception {}
  protected void process() throws Exception {}
  protected void render(OutputData output) throws Exception {}
 
  protected InputData getCurrentInput() {
    InputData input = super.getCurrentInput();
    OutputData output = super.getCurrentOutput();

    // lets try to give a not null answer to the user
    if (input == null && output != null) {
        return output.getCurrentInputData();
View Full Code Here

    return super.getCurrentInput();
  }
 
  protected OutputData getCurrentOutput() {
    OutputData output = super.getCurrentOutput();
    InputData input = super.getCurrentInput();
    if (output == null && input != null) {
      return input.getCurrentOutputData();
    }
   
    return super.getCurrentOutput();
  }
View Full Code Here

TOP

Related Classes of org.araneaframework.InputData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.