Package org.rootservices.otter.router
Class Dispatcher
- java.lang.Object
-
- org.rootservices.otter.router.Dispatcher
-
public class Dispatcher extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.LoggerLOGGER
-
Constructor Summary
Constructors Constructor Description Dispatcher()
-
Method Summary
Modifier and Type Method Description java.util.Optional<MatchedLocation>find(Method method, java.lang.String url)java.util.List<Location>getConnect()java.util.List<Location>getDelete()java.util.List<Location>getGet()java.util.List<Location>getHead()java.util.List<Location>getOptions()java.util.List<Location>getPatch()java.util.List<Location>getPost()java.util.List<Location>getPut()java.util.List<Location>getTrace()java.util.List<Location>locations(Method method)
-
-
-
Method Detail
-
find
public java.util.Optional<MatchedLocation> find(Method method, java.lang.String url)
-
getGet
public java.util.List<Location> getGet()
-
getPost
public java.util.List<Location> getPost()
-
getPut
public java.util.List<Location> getPut()
-
getPatch
public java.util.List<Location> getPatch()
-
getDelete
public java.util.List<Location> getDelete()
-
getConnect
public java.util.List<Location> getConnect()
-
getOptions
public java.util.List<Location> getOptions()
-
getTrace
public java.util.List<Location> getTrace()
-
getHead
public java.util.List<Location> getHead()
-
-