This class defines abstract
Endpoint
, that provides
PointyRoute
s,
PointyRouteGroup
s and
PointyStaticRoute
s to
PointyServer
.
Main function, except for storing available routes, is also to make decision,
which route and its
PointyRouteDefinition
matches to requested
URI
and
Method
.
URI
is checked with
Regex
, that means, that more
Routes can handle variable count of
URIs
, but when
HttpResponse
sends its response, no other route will be
invoked.
PointyEndpoint
is extension of
PointyRouteGroup
, that
extends
PointyRoute
, that adds functionality to be stand-alone Route
without any other routes.