org.xwiki.portlet.controller
Class Dispatch

java.lang.Object
  extended by org.xwiki.portlet.controller.Dispatch

public class Dispatch
extends Object

Convenient way of passing dispatch information.

Version:
$Id: 1f01a63878a8941a9ac90d5a0dcfeedf6ed4b2ca $

Constructor Summary
Dispatch(DispatchType type, String path)
          Creates a new dispatch object with the given information.
 
Method Summary
 String getPath()
           
 DispatchType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dispatch

public Dispatch(DispatchType type,
                String path)
Creates a new dispatch object with the given information.

Parameters:
type - the dispatch type
path - the dispatch type
Method Detail

getType

public DispatchType getType()
Returns:
the dispatch type

getPath

public String getPath()
Returns:
the dispatch path


Copyright © 2004-2013 XWiki. All Rights Reserved.