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;
    }
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;
    }
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 ; }
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.

@param string $marshalled The marshaled session representation

@return \AppserverIo\Psr\Servlet\ServletSessionInterface The un-marshaled servlet session instance
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 .