NAME

Solstice::Dispatch - Dispatches the current request to the appropriate application.

Export

None by default.

Methods

runWebserviceURL

loads the overarching REST controller and steps it through providing the requested resource

runAppURL

if an installed solstice app handles a given url, this primes the controller and pulls the trigger

runCGIURL

if the URL is handled by a simple CGI, fire it up.

serveStaticContent($filename)

find and serve a static file

handleError

if our eval fails, we run this to try and recover

show404($url, $screen)
redirectToSSL()
showWelcomeScreen($url)

This shows a message to people who have just installed Solstice, but no applications.

COPYRIGHT

Copyright 1998-2007 Office of Learning Technologies, University of Washington

Licensed under the Educational Community License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.opensource.org/licenses/ecl1.php

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.