# GET POST PUT HEAD ...
/\G([A-Z]+)/gc and
- return $self->_http_method_match($_, $1);
+ return match_method($1);
# /...
# .* and .html
/\G\.(\*|\w+)/gc and
- return $self->_url_extension_match($_, $1);
+ return match_extension($1);
# (...)
return; # () will trigger the blam in our caller
}
-sub _http_method_match {
- my ($self, $str, $method) = @_;
- match_method($method);
-}
-
sub _url_path_match {
my ($self) = @_;
for ($_[1]) {
return ();
}
-sub _url_extension_match {
- my ($self, $str, $extension) = @_;
- match_extension($extension);
-}
-
sub _parse_param_handler {
my ($self, $spec, $type) = @_;