src/RocknRoot/StrayFw/Http/Http.php
public static function init()
    {
        if (self::$isInit === false) {
            self::$rawRequest = null;
            self::$routes = array();
            self::$isInit = true;
            if (defined('STRAY_IS_HTTP') === true && constant('STRAY_IS_HTTP') === true) {
                self::$rawRequest = new RawRequest();
                Session::init();
                Locale::init(self::$rawRequest);
            }
        }
    }
public static function init()
    {
        if (self::$isInit === false) {
            self::$rawRequest = null;
            self::$routes = array();
            self::$isInit = true;
            if (defined('STRAY_IS_HTTP') === true && constant('STRAY_IS_HTTP') === true) {
                self::$rawRequest = new RawRequest();
                Session::init();
                Locale::init(self::$rawRequest);
            }
        }
    }
public static function init ( ) { if ( self :: $ isInit === false ) { self :: $ rawRequest = null ; self :: $ routes = array ( ) ; self :: $ isInit = true ; if ( defined ( 'STRAY_IS_HTTP' ) === true && constant ( 'STRAY_IS_HTTP' ) === true ) { self :: $ rawRequest = new RawRequest ( ) ; Session :: init ( ) ; Locale :: init ( self :: $ rawRequest ) ; } } }
Initialize inner states according to current HTTP request.

@static
Initialize inner states according to current HTTP request .