Home
last modified time | relevance | path

Searched refs:requestHeaders (Results 1 – 25 of 44) sorted by relevance

12

/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionResponse.java43 public URLConnectionResponse(HttpMessage request, String requestHeaders, in URLConnectionResponse() argument
46 this.requestHeaders = requestHeaders; in URLConnectionResponse()
53 private final String requestHeaders; field in URLConnectionResponse
99 StringBuilder request = new StringBuilder(requestHeaders); in dump()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
DFramedConnection.java228 public FramedStream pushStream(int associatedStreamId, List<Header> requestHeaders, boolean out) in pushStream() argument
232 return newStream(associatedStreamId, requestHeaders, out, false); in pushStream()
243 public FramedStream newStream(List<Header> requestHeaders, boolean out, boolean in) in newStream() argument
245 return newStream(0, requestHeaders, out, in); in newStream()
248 private FramedStream newStream(int associatedStreamId, List<Header> requestHeaders, boolean out, in newStream() argument
262 stream = new FramedStream(streamId, this, outFinished, inFinished, requestHeaders); in newStream()
270 requestHeaders); in newStream()
274 frameWriter.pushPromise(associatedStreamId, streamId, requestHeaders); in newStream()
785 public void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) { in pushPromise() argument
786 pushRequestLater(promisedStreamId, requestHeaders); in pushPromise()
[all …]
DFramedStream.java59 private final List<Header> requestHeaders; field in FramedStream
77 List<Header> requestHeaders) { in FramedStream() argument
79 if (requestHeaders == null) throw new NullPointerException("requestHeaders == null"); in FramedStream()
89 this.requestHeaders = requestHeaders; in FramedStream()
129 return requestHeaders; in getRequestHeaders()
DPushObserver.java49 boolean onRequest(int streamId, List<Header> requestHeaders); in onRequest() argument
78 @Override public boolean onRequest(int streamId, List<Header> requestHeaders) {
DFrameWriter.java46 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() argument
DFrameReader.java112 void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() argument
DHttp2.java426 List<Header> requestHeaders) throws IOException { in pushPromise() argument
428 hpackWriter.writeHeaders(requestHeaders); in pushPromise()
DSpdy3.java309 public void pushPromise(int streamId, int promisedStreamId, List<Header> requestHeaders) in pushPromise() argument
/external/jetty/src/java/org/eclipse/jetty/client/
DAbstractHttpConnection.java215 HttpFields requestHeaders = _exchange.getRequestFields(); in commitRequest() local
218 if (!requestHeaders.containsKey(HttpHeaders.HOST_BUFFER)) in commitRequest()
219 requestHeaders.add(HttpHeaders.HOST_BUFFER,_destination.getHostHeader()); in commitRequest()
225 requestHeaders.putLongField(HttpHeaders.CONTENT_LENGTH, requestContent.length()); in commitRequest()
226 _generator.completeHeader(requestHeaders,false); in commitRequest()
235 _generator.completeHeader(requestHeaders, false); in commitRequest()
239 requestHeaders.remove(HttpHeaders.CONTENT_LENGTH); in commitRequest()
240 _generator.completeHeader(requestHeaders, true); in commitRequest()
/external/okhttp/okhttp-urlconnection/src/main/java/com/squareup/okhttp/internal/huc/
DHttpURLConnectionImpl.java88 private Headers.Builder requestHeaders = new Headers.Builder(); field in HttpURLConnectionImpl
235 return OkHeaders.toMultimap(requestHeaders.build(), null); in getRequestProperties()
285 return requestHeaders.get(field); in getRequestProperty()
349 Headers headers = requestHeaders.build(); in newHttpEngine()
423 requestHeaders = followUp.headers().newBuilder(); in getResponse()
545 requestHeaders.set(field, newValue); in setRequestProperty()
552 requestHeaders.set("If-Modified-Since", HttpDate.format(new Date(ifModifiedSince))); in setIfModifiedSince()
554 requestHeaders.removeAll("If-Modified-Since"); in setIfModifiedSince()
579 requestHeaders.add(field, value); in addRequestProperty()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DOkHeaders.java192 Headers requestHeaders = response.networkResponse().request().headers(); in varyHeaders() local
194 return varyHeaders(requestHeaders, responseHeaders); in varyHeaders()
201 public static Headers varyHeaders(Headers requestHeaders, Headers responseHeaders) { in varyHeaders() argument
206 for (int i = 0, size = requestHeaders.size(); i < size; i++) { in varyHeaders()
207 String fieldName = requestHeaders.name(i); in varyHeaders()
209 result.add(fieldName, requestHeaders.value(i)); in varyHeaders()
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/framed/
DFramedServer.java94 List<Header> requestHeaders = stream.getRequestHeaders(); in receive() local
96 for (int i = 0, size = requestHeaders.size(); i < size; i++) { in receive()
97 if (requestHeaders.get(i).name.equals(Header.TARGET_PATH)) { in receive()
98 path = requestHeaders.get(i).value.utf8(); in receive()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/
DAndroidShimResponseCache.java59 Map<String, List<String>> requestHeaders) throws IOException { in get() argument
60 Request okRequest = JavaApiConverter.createOkRequest(uri, requestMethod, requestHeaders); in get()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/android/
DHttpResponseCache.java97 Map<String, List<String>> requestHeaders) throws IOException { in get() argument
98 return shimResponseCache.get(uri, requestMethod, requestHeaders); in get()
DHttpResponseCacheTest.java99 Map<String, List<String>> requestHeaders) { in getInstalledWithWrongTypeInstalled()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/
DAbstractResponseCache.java31 Map<String, List<String>> requestHeaders) throws IOException { in get() argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DCookiesTest.java266 Map<String, List<String>> requestHeaders) throws IOException { in testHeadersSentToCookieHandler()
267 cookieHandlerHeaders.putAll(requestHeaders); in testHeadersSentToCookieHandler()
319 Map<String, List<String>> requestHeaders) throws IOException { in testCookiesSentIgnoresCase()
DHttpOverSpdyTest.java385 Map<String, List<String>> requestHeaders = Collections.emptyMap(); in acceptAndTransmitCookies() local
387 cookieManager.get(url.uri(), requestHeaders)); in acceptAndTransmitCookies() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2ConnectionTest.java498 @Override public boolean onRequest(int streamId, List<Header> requestHeaders) {
526 @Override public synchronized boolean onRequest(int streamId, List<Header> requestHeaders) {
528 events.add(requestHeaders);
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java268 URI uri, String requestMethod, Map<String, List<String>> requestHeaders) { in createOkRequest() argument
278 if (requestHeaders != null) { in createOkRequest()
279 Headers headers = extractOkHeaders(requestHeaders); in createOkRequest()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DOkHttpClientTest.java143 Map<String, List<String>> requestHeaders) throws IOException { in copyWithDefaultsDoesNotHonorGlobalResponseCache()
DURLConnectionTest.java130 @Test public void requestHeaders() throws IOException, InterruptedException { in requestHeaders() method in URLConnectionTest
138 Map<String, List<String>> requestHeaders = connection.getRequestProperties(); in requestHeaders() local
139 assertEquals(newSet("e", "f"), new LinkedHashSet<>(requestHeaders.get("D"))); in requestHeaders()
140 assertEquals(newSet("e", "f"), new LinkedHashSet<>(requestHeaders.get("d"))); in requestHeaders()
142 requestHeaders.put("G", Arrays.asList("h")); in requestHeaders()
147 requestHeaders.get("D").add("i"); in requestHeaders()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java1924 Map<String, List<String>> requestHeaders)
1968 Map<String, List<String>> requestHeaders) throws IOException {
1969 final CacheResponse response = delegate.get(uri, requestMethod, requestHeaders);
2010 Map<String, List<String>> requestHeaders) throws IOException {
2011 requestHeadersRef.set(requestHeaders);
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.ecf.provider.filetransfer.httpclient_4.0.0.v20100529-0735.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.ecf.provider.filetransfer_3.1.0.v20100529-0735.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...

12