public class PathDefinition extends Object
| Constructor and Description |
|---|
PathDefinition(String pathTemplate) |
public PathDefinition(String pathTemplate)
public PathDefinition get(RestRequestHandler handler)
public PathDefinition get(HandlerDefinition handler)
public PathDefinition post(RestRequestHandler handler)
public PathDefinition post(HandlerDefinition handler)
public PathDefinition put(RestRequestHandler handler)
public PathDefinition put(HandlerDefinition handler)
public PathDefinition delete(RestRequestHandler handler)
public PathDefinition delete(HandlerDefinition handler)
public PathDefinition patch(RestRequestHandler handler)
public PathDefinition patch(HandlerDefinition handler)
public PathDefinition head(RestRequestHandler handler)
public PathDefinition head(HandlerDefinition handler)
public PathDefinition options(RestRequestHandler handler)
public PathDefinition options(HandlerDefinition handler)
protected PathDefinition addHandler(HandlerDefinition handlerDefinition)
protected List<HandlerDefinition> getOrCreateMethodHandlerList(RestHttpMethod restHttpMethod)
public Map<RestHttpMethod,List<HandlerDefinition>> getMethodHandlers()
public String getPathTemplate()
Copyright © 2014. All rights reserved.