AppserverIo\Appserver\ServletEngine\Session\AbstractSessionHandler::unmarshall PHP 메소드

unmarshall() 보호된 메소드

Initializes the session instance from the passed JSON string. If the encoded data contains objects, they will be unserialized before reattached to the session instance.
protected unmarshall ( string $marshalled ) : AppserverIo\Psr\Servlet\ServletSessionInterface
$marshalled string The marshaled session representation
리턴 AppserverIo\Psr\Servlet\ServletSessionInterface The un-marshaled servlet session instance
    protected function unmarshall($marshalled)
    {
        // create a new and empty servlet session instance
        $servletSession = Session::emptyInstance();
        // unmarshall the session data
        $this->getSessionMarshaller()->unmarshall($servletSession, $marshalled);
        // returns the initialized servlet session instance
        return $servletSession;
    }