com.continuuity.http
Class PatternPathRouterWithGroups.RoutableDestination<T>

java.lang.Object
  extended by com.continuuity.http.PatternPathRouterWithGroups.RoutableDestination<T>
Type Parameters:
T - Type of destination.
Enclosing class:
PatternPathRouterWithGroups<T>

public static final class PatternPathRouterWithGroups.RoutableDestination<T>
extends Object

Represents a matched destination.


Constructor Summary
PatternPathRouterWithGroups.RoutableDestination(T destination, Map<String,String> groupNameValues)
          Construct the RouteableDestination with the given parameters.
 
Method Summary
 T getDestination()
           
 Map<String,String> getGroupNameValues()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatternPathRouterWithGroups.RoutableDestination

public PatternPathRouterWithGroups.RoutableDestination(T destination,
                                                       Map<String,String> groupNameValues)
Construct the RouteableDestination with the given parameters.

Parameters:
destination - destination of the route.
groupNameValues - parameters
Method Detail

getDestination

public T getDestination()
Returns:
destination of the route.

getGroupNameValues

public Map<String,String> getGroupNameValues()
Returns:
Map of templated parameter and string representation group value matching the templated parameter as the value.

toString

public String toString()
Overrides:
toString in class Object


Copyright 2013 Continuuity, Inc. Licensed under the Apache License, Version 2.0