public class RoutingResult<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
methodAllowed |
| Constructor and Description |
|---|
RoutingResult(boolean methodAllowed,
T destination,
LinkedHashMap<String,String> captured) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getCaptured()
Get captured variables in Map.
|
T |
getDestination()
Get destination object.
|
boolean |
methodAllowed()
This method returns true if it denied by HTTP method mismatch.
|
public RoutingResult(boolean methodAllowed,
T destination,
LinkedHashMap<String,String> captured)
public boolean methodAllowed()
public T getDestination()
Copyright © 2015. All rights reserved.