Package com.google.jstestdriver.server.gateway

Examples of com.google.jstestdriver.server.gateway.MockResponse


   * along to the matching host.
   * @param matcher The {@link RequestMatcher} that matches the current request.
   * @return A suitable {@link RequestHandler}.
   */
  public synchronized RequestHandler getRequestHandler(RequestMatcher matcher) {
    MockResponse mockResponse = mockResponses.get(matcher);

    if (mockResponse != null) {
      return mockFactory.create(mockResponse);
    }

View Full Code Here

TOP

Related Classes of com.google.jstestdriver.server.gateway.MockResponse

Copyright © 2018 www.massapicom. 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.