Package er.extensions.appserver

Examples of er.extensions.appserver.ERXKeepAliveResponse.reset()


  @Override
  public WOResponse handleRequest(WORequest request) {
    String sessionID = request.sessionID();
    String name = request.requestHandlerPath();
    ERXKeepAliveResponse response = responseForSessionIDNamed(sessionID, name);
    response.reset();
    return response;
  }

  /**
   * Return or create the correct response for the session ID.
View Full Code Here


  public static void stop(String sessionID, String name) {
    Map<String, ERXKeepAliveResponse> sessionResponses = responses.get(sessionID);
    if (sessionResponses != null) {
      ERXKeepAliveResponse response = sessionResponses.get(name);
      if (response != null) {
        response.reset();
        sessionResponses.remove(name);
      }
      // not going to do an empty check on sessionResponses, because we'd have to synchronize on
      // the top-level responses to do it safely
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.