org.apache.abdera.protocol.server.impl
Class RouteManager.RouteTarget

java.lang.Object
  extended by org.apache.abdera.protocol.server.impl.SimpleTarget
      extended by org.apache.abdera.protocol.server.impl.RouteManager.RouteTarget
All Implemented Interfaces:
Iterable<String>, Target
Enclosing class:
RouteManager

public static class RouteManager.RouteTarget
extends SimpleTarget


Field Summary
 
Fields inherited from class org.apache.abdera.protocol.server.impl.SimpleTarget
context, type
 
Constructor Summary
RouteManager.RouteTarget(TargetType type, RequestContext context, Route route, String uri)
           
 
Method Summary
<T> T
getMatcher()
          Return the object that matches with the uri
 String getParameter(String name)
          Return the named target parameter
 String[] getParameterNames()
          Return a listing of all parameter names
 Route getRoute()
           
 
Methods inherited from class org.apache.abdera.protocol.server.impl.SimpleTarget
equals, getIdentity, getRequestContext, getType, hashCode, iterator, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteManager.RouteTarget

public RouteManager.RouteTarget(TargetType type,
                                RequestContext context,
                                Route route,
                                String uri)
Method Detail

getRoute

public Route getRoute()

getMatcher

public <T> T getMatcher()
Description copied from interface: Target
Return the object that matches with the uri

Specified by:
getMatcher in interface Target
Overrides:
getMatcher in class SimpleTarget
Returns:

getParameter

public String getParameter(String name)
Description copied from interface: Target
Return the named target parameter

Specified by:
getParameter in interface Target
Overrides:
getParameter in class SimpleTarget

getParameterNames

public String[] getParameterNames()
Description copied from interface: Target
Return a listing of all parameter names

Specified by:
getParameterNames in interface Target
Overrides:
getParameterNames in class SimpleTarget


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.