Home
last modified time | relevance | path

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

12

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
DFakeHttpLayer.java111 … httpRequest.getRequestLine().getMethod() + " " + httpRequest.getRequestLine().getUri()); in emulateRequest()
244 return request.getRequestLine().getMethod().equals(method) && in matches()
245 request.getRequestLine().getUri().equals(uri); in matches()
258 return request.getRequestLine().getUri().equals(uri); in matches()
320 URI uri = URI.create(request.getRequestLine().getUri()); in matches()
321 if (method != null && !method.equals(request.getRequestLine().getMethod())) { in matches()
400 return request.getRequestLine().getMethod().equals(method) && in matches()
401 uriRegex.matcher(request.getRequestLine().getUri()).matches(); in matches()
DParamsParser.java20 URI uri = URI.create(request.getRequestLine().getUri()); in parseParams()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DHttpOverHttp2Test.java49 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in serverSendsPushPromise_GET()
54 assertEquals("GET /foo/bar HTTP/1.1", pushedRequest.getRequestLine()); in serverSendsPushPromise_GET()
73 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in serverSendsPushPromise_HEAD()
78 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.java113 assertEquals("GET / HTTP/1.1", request.getRequestLine()); in testRegularResponse()
131 assertEquals("GET / HTTP/1.1", first.getRequestLine()); in testRedirect()
133 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.java514 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in connectViaHttps()
600 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in connectViaHttpsWithSSLFallback()
702 assertEquals("GET " + urlString + " HTTP/1.1", request.getRequestLine()); in testConnectViaProxy()
823 assertEquals("GET /foo HTTP/1.1", request.getRequestLine()); in testConnectViaDirectProxyToHttps()
863 connect.getRequestLine()); in testConnectViaHttpProxyToHttps()
867 assertEquals("GET /foo HTTP/1.1", get.getRequestLine()); in testConnectViaHttpProxyToHttps()
897 assertEquals("CONNECT android.com:443 HTTP/1.1", connect.getRequestLine()); in connectViaHttpProxyToHttpsUsingBadProxyAndHttpResponseCache()
957 assertEquals("CONNECT android.com:443 HTTP/1.1", connect1.getRequestLine()); in proxyAuthenticateOnConnect()
961 assertEquals("CONNECT android.com:443 HTTP/1.1", connect2.getRequestLine()); in proxyAuthenticateOnConnect()
966 assertEquals("GET /foo HTTP/1.1", get.getRequestLine()); in proxyAuthenticateOnConnect()
[all …]
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DMockWebServerTest.java93 assertEquals("GET / HTTP/1.1", request.getRequestLine()); in regularResponse()
110 assertEquals("GET / HTTP/1.1", first.getRequestLine()); in redirect()
112 assertEquals("GET /new-path HTTP/1.1", redirect.getRequestLine()); in redirect()
/external/apache-http/src/org/apache/http/impl/io/
DHttpRequestWriter.java61 (this.lineBuf, ((HttpRequest) message).getRequestLine()); in writeHeadLine()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DQueueDispatcher.java32 final String requestLine = request.getRequestLine(); in dispatch()
DRecordedRequest.java61 public String getRequestLine() { in getRequestLine() method in RecordedRequest
/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/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
/external/apache-http/src/org/apache/http/impl/conn/
DDefaultClientConnection.java256 headerLog.debug(">> " + request.getRequestLine().toString()); in sendRequestHeader()

12