class SocketdSessionState implements SessionState {
    Session session;

    public SocketdSessionState(Session session) {
        this.session = session;
    }

    @Override
    public boolean replaceable() {
        return false;
    }

    @Override
    public String sessionId() {
        return session.sessionId();
    }

    @Override
    public String sessionChangeId() {
        return session.sessionId();
    }

    @Override
    public Collection<String> sessionKeys() {
        return session.attrMap().keySet();
    }

    @Override
    public <T> T sessionGet(String key, Class<T> clz) {
        return (T) session.attr(key);
    }

    @Override
    public void sessionSet(String key, Object val) {<FILL_FUNCTION_BODY>}

    @Override
    public void sessionRemove(String key) {
        session.attrMap().remove(key);
    }

    @Override
    public void sessionClear() {
        session.attrMap().clear();
    }

    @Override
    public void sessionReset() {
        //no sup reset
    }
}

        if (val == null) {
            sessionRemove(key);
        } else {
            session.attrPut(key, val);
        }
    
<no_super_class>