code: public void destroySession() {
      	JsonObject session = get("session");
          if (session == null) {
              return;
          }
  
          String sessionId = session.getString("id");
          // remove from the context
          put("session", null);
  
          if (sessionId == null) {
              return;
          }
  
          store.destroy(sessionId, new Handler<Object>() {
              @Override
              public void handle(Object error) {
                  if (error != null) {
                      // TODO: better handling of errors
                      System.err.println(error);
                  }
              }
          });
      }
docs: Destroys a session from the request context and also from the storage engine.