Package org.araneaframework.core

Examples of org.araneaframework.core.StandardPath


  /**
   * Returns the path of action from the InputData. Uses the
   * ACTION_PATH_INPUT_DATA_PARAMETER to get the path.
   */
  protected Path getActionPath(InputData input) {
    return new StandardPath((String) input.getGlobalData().get(ACTION_PATH_INPUT_DATA_PARAMETER));
  }
View Full Code Here


  /**
   * Returns the path of action from the InputData. Uses the ACTION_PATH_INPUT_DATA_PARAMETER
   * to get the path.
   */
  protected Path getActionPath(InputData input) {
    return new StandardPath((String) input.getGlobalData().get(ACTION_PATH_INPUT_DATA_PARAMETER));
  }
View Full Code Here

   * Extracts the path from the input and returns it. This implementation uses
   * the EVENT_PATH_KEY parameter in the request and expects the event path to be
   * a dot-separated string.
   */
  protected Path getEventPath(InputData input) {
    return new StandardPath((String) input.getGlobalData().get(EVENT_PATH_KEY));
  }
View Full Code Here

   * Extracts the path from the input and returns it. This implementation uses
   * the ACTION_PATH_KEY parameter in the request and expects the action path to be
   * a dot-separated string.
   */
  protected Path getActionPath(InputData input) {
    return new StandardPath((String) input.getGlobalData().get(ACTION_PATH_KEY));
  }
View Full Code Here

  public HttpServletResponse getResponse() {
    return this.res;
  }

  public Path getScope() {
    return new StandardPath(scopeBuf.toString());
  }
View Full Code Here

import org.araneaframework.servlet.ServletInputData;

public class PathInfoServiceContainerService extends StandardServiceContainerService {
  protected Path getActionPath(InputData input) {
    String pathInfo = ((ServletInputData) input).getRequest().getPathInfo().substring(1);
    return new StandardPath(pathInfo.replace('/', '.'));
  }
View Full Code Here

    pathPrefix = new ArrayList();
    data = new HashMap();
  }
 
  public Path getScope() {
    return new StandardPath(getScopePathString());
  }
View Full Code Here

    data = new HashMap();
    pathPrefix = new ArrayList();
  }
 
  public Path getScope() {
    return new StandardPath(getScopePathString());
  }
View Full Code Here

    HttpServletResponse res = new MockHttpServletResponse();
    return new StandardServletOutputData(req, res);
  }
 
  public static Path getPath() {
    return new StandardPath("");
  }
View Full Code Here

  public static Path getPath() {
    return new StandardPath("");
  }
 
  public static Path getPath(String str) {
    return new StandardPath(str);
  }
View Full Code Here

TOP

Related Classes of org.araneaframework.core.StandardPath

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.