org.vraptor.url
Class DefaultRequestInfo

java.lang.Object
  extended by 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

Constructor Summary
DefaultRequestInfo(String componentName, String logicName)
           
 
Method Summary
 String getComponentName()
          Returns the desired component name.
 String getLogicName()
          Returns the logic name to be executed.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultRequestInfo

public DefaultRequestInfo(String componentName,
                          String logicName)
Parameters:
componentName - the name of the Component to be used
logicName - the logic name form the component that will be invoked
Method Detail

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.