code: @Override
      public <T> T unwrap(Class<T> clazz) {
          return Request.class.isAssignableFrom(clazz) ?
                  clazz.cast(request) :
                  Out.class.isAssignableFrom(clazz) ?
                          clazz.cast(out) :
                          null;
      }
docs: {@link Request} and {@link WebSocket.Out} are available.