Home
last modified time | relevance | path

Searched refs:httpResponse (Results 1 – 1 of 1) sorted by relevance

/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java401 HttpResponse httpResponse = null; in getResponse() local
412 httpResponse = createResponse(HttpStatus.SC_OK); in getResponse()
414 httpResponse = createResponse(HttpStatus.SC_NOT_FOUND); in getResponse()
416 httpResponse = createResponse(HttpStatus.SC_NOT_FOUND); in getResponse()
419 httpResponse = createResponse(HttpStatus.SC_MOVED_TEMPORARILY); in getResponse()
421 httpResponse.addHeader(header.first, header.second); in getResponse()
427 httpResponse = createResponse(HttpStatus.SC_OK); in getResponse()
429 httpResponse.setEntity(entity); in getResponse()
430 httpResponse.setHeader("Content-Length", "" + entity.getContentLength()); in getResponse()
432 httpResponse.addHeader(header.first, header.second); in getResponse()
[all …]