NAME

CatalystX::ASP::Dispatcher - Catalyst DispatchType to match .asp requests

SYNOPSIS

package MyApp;

after 'setup_dispatcher' => sub {
  push @{$shift->dispatcher->preload_dispatch_types}, '+CatalystX::ASP::Dispatcher';
};

__PACKAGE__->config('CatalystX::ASP' => {
  Dispatcher => {
    match_pattern => '\.asp$'
  }
});

DESCRIPTION

This DispatchType will match any requests ending with .asp.

METHODS

$self->list($c)

Debug output for ASP dispatch points

$self->match($c, $path)

Checks if request path ends with .asp, and if file exists. Then creates custom action to forward to ASP View.

$self->register( $c, $action )

Registers the generated action

$self->uri_for_action($action, $captures)

Get a URI part for an action

SEE ALSO