Use {@link #getResponses()}
348254
@Deprecated
    public boolean addAll(int index, Collection<? extends E> c) {
        return responses.addAll(index, c);
    }
838995
private void doListGet(final Message<JsonObject> message) {
    final String name = message.body().getString("name");
    if (name == null) {
      message.reply(new JsonObject().putString("status", "error").putString("message", "No name specified."));
      return;
    }

    final Integer index = message.body().getInteger("index");
    if (index == null) {
      message.reply(new JsonObject().putString("status", "error").putString("message", "No index specified."));
      return;
    }

    context.execute(new Action<Object>() {
      @Override
      public Object perform() {
        return data.getList(formatKey(name)).get(index);
      }
    }, new Handler<AsyncResult<Object>>() {
      @Override
      public void handle(AsyncResult<Object> result) {
        if (result.failed()) {
          message.reply(new JsonObject().putString("status", "error").putString("message", result.cause().getMessage()));
        } else {
          message.reply(new JsonObject().putString("status", "ok").putValue("result", result.result()));
        }
      }
    });
  }
1021767
@Override
    public List<MatchResponse> getMatchResponses(String resourceName, String... methods) {
        List<MatchResponse> matchResponses = new ArrayList<MatchResponse>();
        Set<String> methodList = new HashSet<String>();
        if (securityConstraints == null || securityConstraints.isEmpty()) {
            return null;
        }

        if (methods == null || (methods.length == 0) || (methods.length == 1 && methods[0].isEmpty())) {
            // fill in code to get list of all methods here start with standard list then add in custom methods
            methodList.addAll(STANDARD_METHODS);

            //got through the securityConstraints to find methods
            for (SecurityConstraint securityConstraint : securityConstraints) {
                List<WebResourceCollection> webCollections = securityConstraint.getWebResourceCollections();
                for (WebResourceCollection webResource : webCollections) {
                    if (webResource.performUrlMatch(resourceName) != null) {
                        List<String> httpMethodsOnResouce = webResource.getHttpMethods();
                        methodList.addAll(httpMethodsOnResouce);
                    }
                }
            }
        } else {
            methodList.addAll(new HashSet<String>(Arrays.asList(methods)));
        }

        for (String method : methodList) {
            MatchResponse match = getMatchResponse(resourceName, method);
            matchResponses.add(match);
        }
        return matchResponses;
    }
1278219
public static responderaction[] get(nitro_service service) throws Exception{
		responderaction obj = new responderaction();
		responderaction[] response = (responderaction[])obj.get_resources(service);
		return response;
	}
346766
public ServletResponse getServletResponse()
    {
        RequestContext reqContext = peekRequestContext();
        if (reqContext == null)
            return null;

        return  reqContext._response;
    }
1167200
public Response get(String endpoint) {
        return call(Method.GET, endpoint, null, null);
    }
389348
public Response executeToResponse(HttpConnection connection) {
        InputStream is = null;
        try {
            is = this.executeToInputStream(connection);
            Response response = getResponse(is, Response.class, getGson());
            response.setStatusCode(connection.getConnection().getResponseCode());
            response.setReason(connection.getConnection().getResponseMessage());
            return response;
        } catch (IOException e) {
            throw new CouchDbException("Error retrieving response code or message.", e);
        } finally {
            close(is);
        }
    }
515312
def get_response(self, results):
        
        if results is None:
            return None
        for result in itertools.chain.from_iterable(results):
            if isinstance(result, BaseResponse):
                return result
363372
public HttpResponseMessageImpl getResponse(HttpOutboundServiceContext hsc) {
        HttpResponseMessageImpl resp = getResponse();
        resp.init(hsc);
        return resp;
    }
1262407
def got_response(self):
        
        return any(message.sender != self.initiator
                   for message in self.messages)
1023612
@Override
	public void getResponse(URI uri, int responseCode, String mimetype,
			String content, String eTag) {
		tracer.info("getResponse(" + uri + ", " + responseCode + ", "
				+ mimetype + ", " + content + ", " + eTag + ")");
	}
1219232
function onResponse( response ) {
		res = response;
		if ( res.statusCode !== 200 ) {
			err = {
				'status': res.statusCode,
				'message': ''
			};
		}
		debug( 'Received a response from query endpoint.' );
		debug( 'Response status: %s.', res.statusCode );

		debug( 'Response headers: %s', JSON.stringify( res.headers ) );

		res.setEncoding( 'utf8' );
		res.on( 'data', onData );
		res.on( 'end', onEnd );
	}
122154
public final <T> GetsResponse<T> gets(final String key)
      throws TimeoutException, InterruptedException, MemcachedException {
    return this.gets(key, this.opTimeout);
  }
544572
private RawResponse getResponse(URL url, HttpURLConnection conn, CookieJar cookieJar, String method)
            throws IOException {
        // read result
        int status = conn.getResponseCode();
        String host = url.getHost().toLowerCase();

        String statusLine = null;
        // headers and cookies
        List<Header> headerList = new ArrayList<>();
        List<Cookie> cookies = new ArrayList<>();
        int index = 0;
        while (true) {
            String key = conn.getHeaderFieldKey(index);
            String value = conn.getHeaderField(index);
            if (value == null) {
                break;
            }
            index++;
            //status line
            if (key == null) {
                statusLine = value;
                continue;
            }
            headerList.add(new Header(key, value));
            if (key.equalsIgnoreCase(NAME_SET_COOKIE)) {
                Cookie c = Cookies.parseCookie(value, host, Cookies.calculatePath(url.getPath()));
                if (c != null) {
                    cookies.add(c);
                }
            }
        }
        Headers headers = new Headers(headerList);

        InputStream input;
        try {
            input = conn.getInputStream();
        } catch (IOException e) {
            input = conn.getErrorStream();
        }
        if (input == null) {
            input = InputStreams.empty();
        }

        // update session
        cookieJar.storeCookies(cookies);
        return new RawResponse(method, url.toExternalForm(), status, statusLine == null ? "" : statusLine,
                cookies, headers, input, conn);
    }
1354530
protected Response get() {
        RequestBuilder getRequest = RequestBuilder.get().setUri(url);
        return executeHttpRequest(getRequest);
    }
1130806
public UnitResponse get() {
        synchronized (responseLock) {
            while (!isDone())
                try {
                    responseLock.wait();
                } catch (InterruptedException e) {
                    throw new RuntimeException(e);
                }
            return unitResponse;
        }
    }
1059025
public final function getResponse(): ResponseInterface
   {
       if (!$this->response) {
           try {
               $this->send();
           } catch (RuntimeException $e) {
               throw new RuntimeException(
                   "Can't get response: " . $e->getMessage());
           }
       }
       return $this->response;
   }