Home
last modified time | relevance | path

Searched refs:getRequestLine (Results 1 – 25 of 47) sorted by relevance

12

/external/robolectric/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DFakeHttpLayer.java108 System.err.println("Unexpected HTTP call " + httpRequest.getRequestLine()); in findResponse()
115 System.out.println(" <-- " + httpRequest.getRequestLine()); in emulateRequest()
127 + httpRequest.getRequestLine().getMethod() in emulateRequest()
129 + httpRequest.getRequestLine().getUri()); in emulateRequest()
338 return request.getRequestLine().getMethod().equals(method) && in matches()
339 request.getRequestLine().getUri().equals(uri); in matches()
352 return request.getRequestLine().getUri().equals(uri); in matches()
414 URI uri = URI.create(request.getRequestLine().getUri()); in matches()
415 if (method != null && !method.equals(request.getRequestLine().getMethod())) { in matches()
494 return request.getRequestLine().getMethod().equals(method) && in matches()
[all …]
DParamsParser.java46 Uri uri = Uri.parse(request.getRequestLine().getUri()); in parseParamsForGet()
/external/robolectric-shadows/shadows/httpclient/src/main/java/org/robolectric/shadows/httpclient/
DFakeHttpLayer.java108 System.err.println("Unexpected HTTP call " + httpRequest.getRequestLine()); in findResponse()
115 System.out.println(" <-- " + httpRequest.getRequestLine()); in emulateRequest()
124 httpRequest.getRequestLine().getMethod() + " " + httpRequest.getRequestLine().getUri()); in emulateRequest()
333 return request.getRequestLine().getMethod().equals(method) && in matches()
334 request.getRequestLine().getUri().equals(uri); in matches()
347 return request.getRequestLine().getUri().equals(uri); in matches()
409 URI uri = URI.create(request.getRequestLine().getUri()); in matches()
410 if (method != null && !method.equals(request.getRequestLine().getMethod())) { in matches()
489 return request.getRequestLine().getMethod().equals(method) && in matches()
490 uriRegex.matcher(request.getRequestLine().getUri()).matches(); in matches()
DParamsParser.java46 Uri uri = Uri.parse(request.getRequestLine().getUri()); in parseParamsForGet()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverHttp2Test.java50 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in serverSendsPushPromise_GET()
55 assertEquals("GET /foo/bar HTTP/1.1", pushedRequest.getRequestLine()); in serverSendsPushPromise_GET()
74 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in serverSendsPushPromise_HEAD()
79 assertEquals("HEAD /foo/bar HTTP/1.1", pushedRequest.getRequestLine()); in serverSendsPushPromise_HEAD()
DHttpOverSpdyTest.java106 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in get()
130 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); in noDefaultContentLengthOnStreamingPost()
145 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); in userSuppliedContentLengthHeader()
162 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); in closeAfterFlush()
177 assertEquals("POST /foo HTTP/1.1", request.getRequestLine()); in setFixedLengthStreamingModeSetsContentLength()
228 assertEquals("GET / HTTP/1.1", accepted.getRequestLine()); in authenticate()
/external/apache-http/src/org/apache/http/impl/client/
DRequestWrapper.java87 RequestLine requestLine = request.getRequestLine(); in RequestWrapper()
138 public RequestLine getRequestLine() { in getRequestLine() method in RequestWrapper
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java119 assertEquals("GET / HTTP/1.1", request.getRequestLine()); in testRegularResponse()
137 assertEquals("GET / HTTP/1.1", first.getRequestLine()); in testRedirect()
139 assertEquals("GET /new-path HTTP/1.1", redirect.getRequestLine()); in testRedirect()
/external/apache-http/src/org/apache/http/
DHttpRequest.java54 RequestLine getRequestLine(); in getRequestLine() method
/external/apache-http/src/org/apache/http/protocol/
DHttpRequestExecutor.java87 if ("HEAD".equalsIgnoreCase(request.getRequestLine().getMethod())) { in canResponseHaveBody()
213 request.getRequestLine().getProtocolVersion(); in doSendRequest()
DHttpService.java145 request.getRequestLine().getProtocolVersion(); in handleRequest()
244 String requestURI = request.getRequestLine().getUri(); in doService()
DRequestExpectContinue.java74 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DRequestTargetHost.java91 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DRequestContent.java77 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
/external/apache-http/src/org/apache/http/client/protocol/
DRequestAddCookies.java132 requestURI = new URI(request.getRequestLine().getUri()); in process()
135 request.getRequestLine().getUri(), ex); in process()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java543 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in connectViaHttps()
630 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in connectViaHttpsWithSSLFallback()
730 assertEquals("GET http://android.com/foo HTTP/1.1", request.getRequestLine()); in testConnectViaProxy()
850 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in testConnectViaDirectProxyToHttps()
890 connect.getRequestLine()); in testConnectViaHttpProxyToHttps()
894 assertEquals("GET /foo HTTP/1.1", get.getRequestLine()); in testConnectViaHttpProxyToHttps()
924 assertEquals("CONNECT android.com:443 HTTP/1.1", connect.getRequestLine()); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
984 assertEquals("CONNECT android.com:443 HTTP/1.1", connect1.getRequestLine()); in proxyAuthenticateOnConnect()
988 assertEquals("CONNECT android.com:443 HTTP/1.1", connect2.getRequestLine()); in proxyAuthenticateOnConnect()
993 assertEquals("GET /foo HTTP/1.1", get.getRequestLine()); in proxyAuthenticateOnConnect()
[all …]
/external/apache-http/src/org/apache/http/impl/io/
DHttpRequestWriter.java61 (this.lineBuf, ((HttpRequest) message).getRequestLine()); in writeHeadLine()
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DMockWebServerTest.java95 assertEquals("GET / HTTP/1.1", request.getRequestLine()); in regularResponse()
112 assertEquals("GET / HTTP/1.1", first.getRequestLine()); in redirect()
114 assertEquals("GET /new-path HTTP/1.1", redirect.getRequestLine()); in redirect()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DQueueDispatcher.java33 final String requestLine = request.getRequestLine(); in dispatch()
DRecordedRequest.java95 public String getRequestLine() { in getRequestLine() method in RecordedRequest
/external/apache-http/src/org/apache/http/message/
DBasicHttpRequest.java94 public RequestLine getRequestLine() { in getRequestLine() method in BasicHttpRequest
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DQueueDispatcher.java34 final String requestLine = request.getRequestLine(); in dispatch()
DRecordedRequest.java61 public String getRequestLine() { in getRequestLine() method in RecordedRequest
/external/apache-http/src/org/apache/http/impl/auth/
DDigestScheme.java236 getParameters().put("methodname", request.getRequestLine().getMethod()); in authenticate()
237 getParameters().put("uri", request.getRequestLine().getUri()); in authenticate()
/external/apache-http/src/org/apache/http/client/methods/
DHttpRequestBase.java90 public RequestLine getRequestLine() { in getRequestLine() method in HttpRequestBase

12