Home
last modified time | relevance | path

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

/external/okhttp/src/main/java/libcore/net/http/
DHttpURLConnectionImpl.java260 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine() argument
261 return new HttpEngine(this, method, requestHeaders, connection, requestBody); in newHttpEngine()
285 OutputStream requestBody = httpEngine.getRequestBody(); in getResponse()
287 && (requestBody == null || requestBody instanceof RetryableOutputStream)) { in getResponse()
290 (RetryableOutputStream) requestBody); in getResponse()
307 OutputStream requestBody = httpEngine.getRequestBody(); in getResponse() local
318 requestBody = null; in getResponse()
321 if (requestBody != null && !(requestBody instanceof RetryableOutputStream)) { in getResponse()
333 httpEngine.getConnection(), (RetryableOutputStream) requestBody); in getResponse()
DHttpsURLConnectionImpl.java384 HttpConnection connection, RetryableOutputStream requestBody) throws IOException { in newHttpEngine() argument
385 return new HttpsEngine(this, method, requestHeaders, connection, requestBody, in newHttpEngine()
419 HttpConnection connection, RetryableOutputStream requestBody, in HttpsEngine() argument
421 super(policy, method, requestHeaders, connection, requestBody); in HttpsEngine()
DTransport.java52 void writeRequestBody(RetryableOutputStream requestBody) throws IOException; in writeRequestBody() argument
DSpdyTransport.java61 @Override public void writeRequestBody(RetryableOutputStream requestBody) throws IOException { in writeRequestBody() argument
DHttpTransport.java104 @Override public void writeRequestBody(RetryableOutputStream requestBody) throws IOException { in writeRequestBody() argument
105 requestBody.writeToSocket(requestOut); in writeRequestBody()
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/
DHttpMethodResponse.java51 public HttpMethodResponse(HttpRequestBase request, HttpResponse response, byte[] requestBody, in HttpMethodResponse() argument
57 this.requestBody = requestBody; in HttpMethodResponse()
64 private final byte[] requestBody; field in HttpMethodResponse
115 if (requestBody != null) { in dump()
116 request.append(new String(requestBody, requestEncoding)); in dump()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DMockWebServer.java413 TruncatingOutputStream requestBody = new TruncatingOutputStream(); in readRequest() local
417 transfer(contentLength, in, requestBody); in readRequest()
427 transfer(chunkSize, in, requestBody); in readRequest()
447 requestBody.numBytesReceived, requestBody.toByteArray(), sequenceNumber, socket); in readRequest()
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/
DAuthenticationHelperImpl.java295 private AuthorizationHeader getAuthorization(String method, String uri, String requestBody, in getAuthorization() argument
310 method, uri, requestBody, qop,sipStack.getStackLogger());// jvb changed in getAuthorization()
362 private AuthorizationHeader getAuthorization(String method, String uri, String requestBody, in getAuthorization() argument
376 method, uri, requestBody, qop,sipStack.getStackLogger());// jvb changed in getAuthorization()
/external/okhttp/src/test/java/libcore/net/http/
DURLConnectionTest.java963 byte[] requestBody = { 'A', 'B', 'C', 'D' }; in testAuthenticateWithStreamingPost()
965 connection.setFixedLengthStreamingMode(requestBody.length); in testAuthenticateWithStreamingPost()
970 outputStream.write(requestBody); in testAuthenticateWithStreamingPost()
981 assertEquals(Arrays.toString(requestBody), Arrays.toString(request.getBody())); in testAuthenticateWithStreamingPost()
1103 byte[] requestBody = { 'A', 'B', 'C', 'D' }; in testSecureStreamingPost()
1105 connection.setFixedLengthStreamingMode(requestBody.length); in testSecureStreamingPost()
1110 outputStream.write(requestBody); in testSecureStreamingPost()
1121 assertEquals(Arrays.toString(requestBody), Arrays.toString(request.getBody())); in testSecureStreamingPost()
1144 byte[] requestBody = { 'A', 'B', 'C', 'D' }; in testAuthenticateWithPost()
1146 outputStream.write(requestBody); in testAuthenticateWithPost()
[all …]