org.vraptor.url
Class DefaultRequestInfo
java.lang.Object
org.vraptor.url.DefaultRequestInfo
- All Implemented Interfaces:
- RequestInfo
public class DefaultRequestInfo
- extends Object
- implements RequestInfo
Simple implementation of a request info.
- Since:
- 2.2.3
- Author:
- Paulo Silveira, Guilherme Silveira
DefaultRequestInfo
public DefaultRequestInfo(String componentName,
String logicName)
- Parameters:
componentName - the name of the Component to be usedlogicName - the logic name form the component that will be invoked
getComponentName
public String getComponentName()
- Description copied from interface:
RequestInfo
- Returns the desired component name.
- Specified by:
getComponentName in interface RequestInfo
- Returns:
- the component name
getLogicName
public String getLogicName()
- Description copied from interface:
RequestInfo
- Returns the logic name to be executed.
- Specified by:
getLogicName in interface RequestInfo
- Returns:
- the logic name
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2004-2008 VRaptor. All Rights Reserved.