Home
last modified time | relevance | path

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

12

/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
DDefaultRedirectHandler.java144 URI requestURI = new URI(request.getRequestLine().getUri()); in getLocationURI()
/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()
DRequestExpectContinue.java74 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); in process()
DHttpService.java145 request.getRequestLine().getProtocolVersion(); in handleRequest()
244 String requestURI = request.getRequestLine().getUri(); in doService()
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.java528 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in connectViaHttps()
614 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in connectViaHttpsWithSSLFallback()
711 assertEquals("GET http://android.com/foo HTTP/1.1", request.getRequestLine()); in testConnectViaProxy()
831 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in testConnectViaDirectProxyToHttps()
871 connect.getRequestLine()); in testConnectViaHttpProxyToHttps()
875 assertEquals("GET /foo HTTP/1.1", get.getRequestLine()); in testConnectViaHttpProxyToHttps()
905 assertEquals("CONNECT android.com:443 HTTP/1.1", connect.getRequestLine()); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
965 assertEquals("CONNECT android.com:443 HTTP/1.1", connect1.getRequestLine()); in proxyAuthenticateOnConnect()
969 assertEquals("CONNECT android.com:443 HTTP/1.1", connect2.getRequestLine()); in proxyAuthenticateOnConnect()
974 assertEquals("GET /foo HTTP/1.1", get.getRequestLine()); in proxyAuthenticateOnConnect()
[all …]
DCallTest.java1374 assertEquals("POST /page1 HTTP/1.1", page1.getRequestLine()); in postRedirectsToGet()
1378 assertEquals("GET /page2 HTTP/1.1", page2.getRequestLine()); in postRedirectsToGet()
1395 assertEquals("PROPFIND /page1 HTTP/1.1", page1.getRequestLine()); in propfindRedirectsToPropfind()
1399 assertEquals("PROPFIND /page2 HTTP/1.1", page2.getRequestLine()); in propfindRedirectsToPropfind()
2091 assertEquals("CONNECT android.com:443 HTTP/1.1", connect1.getRequestLine()); in proxyAuthenticateOnConnect()
2095 assertEquals("CONNECT android.com:443 HTTP/1.1", connect2.getRequestLine()); in proxyAuthenticateOnConnect()
2099 assertEquals("GET /foo HTTP/1.1", get.getRequestLine()); in proxyAuthenticateOnConnect()
2157 assertEquals("CONNECT [::1]:443 HTTP/1.1", connect.getRequestLine()); in ipv6HostHasSquareBraces()
2161 assertEquals("GET / HTTP/1.1", get.getRequestLine()); in ipv6HostHasSquareBraces()
/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/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/message/
DBasicHttpRequest.java94 public RequestLine getRequestLine() { in getRequestLine() method in BasicHttpRequest
/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