com.continuuity.http
Class PatternPathRouterWithGroups.RoutableDestination<T>
java.lang.Object
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.
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
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