Esempio n. 1
0
  /** Returns the thread request. */
  public static ServletRequest getContextRequest() {
    ProtocolConnection req = TcpSocketLink.getCurrentRequest();

    if (req instanceof AbstractHttpRequest) return ((AbstractHttpRequest) req).getRequestFacade();
    else return null;
  }