Home
last modified time | relevance | path

Searched refs:CONTENT_TYPE (Results 1 – 25 of 38) sorted by relevance

12

/external/downloader/src/test/java/com/google/android/downloader/
DMockWebServerUrlEngineTestHelper.java71 .setHeader(HttpHeaders.CONTENT_TYPE, encoding) in executeRequest_normalResponse_succeeds()
97 .containsEntry(HttpHeaders.CONTENT_TYPE, ImmutableList.of(encoding)); in executeRequest_normalResponse_succeeds()
115 .setHeader(HttpHeaders.CONTENT_TYPE, encoding) in executeRequest_responseThrottled_succeeds()
141 .containsEntry(HttpHeaders.CONTENT_TYPE, ImmutableList.of(encoding)); in executeRequest_responseThrottled_succeeds()
163 .setHeader(HttpHeaders.CONTENT_TYPE, encoding) in executeRequest_largeResponse_succeeds()
189 .containsEntry(HttpHeaders.CONTENT_TYPE, ImmutableList.of(encoding)); in executeRequest_largeResponse_succeeds()
205 .setHeader(HttpHeaders.CONTENT_TYPE, encoding) in executeRequest_closeBeforeWrite_failsAborted()
DDataUrlEngineTest.java75 .containsExactly(HttpHeaders.CONTENT_TYPE, ImmutableList.of("text/plain")); in executeRequest()
103 .containsExactly(HttpHeaders.CONTENT_TYPE, ImmutableList.of("text/plain")); in executeRequest_writeError()
/external/apache-http/src/org/apache/http/client/entity/
DUrlEncodedFormEntity.java64 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
78 setContentType(URLEncodedUtils.CONTENT_TYPE); in UrlEncodedFormEntity()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DFormEncodingBuilder.java27 private static final MediaType CONTENT_TYPE = field in FormEncodingBuilder
59 return RequestBody.create(CONTENT_TYPE, content.snapshot()); in build()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DFormEncodingBuilder.java25 private static final MediaType CONTENT_TYPE = field in FormEncodingBuilder
57 return RequestBody.create(CONTENT_TYPE, content.snapshot()); in build()
/external/python/apitools/apitools/base/protorpclite/
Dprotojson.py146 CONTENT_TYPE = 'application/json' variable in ProtoJson
375 CONTENT_TYPE = ProtoJson.CONTENT_TYPE variable
/external/oauth/core/src/main/java/net/oauth/http/
DHttpMessage.java97 return getCharset(getHeader(CONTENT_TYPE)); in getContentCharset()
155 public static final String CONTENT_TYPE = "Content-Type"; field in HttpMessage
/external/oauth/core/src/main/java/net/oauth/client/
DURLConnectionResponse.java83 if (CONTENT_TYPE.equalsIgnoreCase(name)) { in getHeaders()
89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection in getHeaders()
DOAuthClient.java281 headers.add(new OAuth.Parameter(HttpMessage.CONTENT_TYPE, in invoke()
303 headers.add(new OAuth.Parameter(HttpMessage.CONTENT_TYPE, in invoke()
/external/apache-http/src/org/apache/http/client/utils/
DURLEncodedUtils.java59 public static final String CONTENT_TYPE = "application/x-www-form-urlencoded"; field in URLEncodedUtils
119 return (contentType != null && contentType.getValue().equalsIgnoreCase(CONTENT_TYPE)); in isEncoded()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSAttributeTableGenerator.java12 String CONTENT_TYPE = "contentType"; field
DDefaultSignedAttributeTableGenerator.java70 parameters.get(CMSAttributeTableGenerator.CONTENT_TYPE)); in createStandardAttributeTable()
/external/apache-http/android/src/com/android/internal/http/multipart/
DPart.java103 protected static final String CONTENT_TYPE = "Content-Type: "; field in Part
107 EncodingUtils.getAsciiBytes(CONTENT_TYPE);
DMultipartEntity.java200 return new BasicHeader(HTTP.CONTENT_TYPE, buffer.toString()); in getContentType()
/external/apache-http/android/src/android/net/http/
DHeaders.java54 public final static String CONTENT_TYPE = "content-type"; field in Headers
129 CONTENT_TYPE,
209 if (name.equals(CONTENT_TYPE)) { in parseHeader()
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentTypeParser.java63 this.headerName(TokenTypes.CONTENT_TYPE); in parse()
/external/apache-http/src/org/apache/http/protocol/
DHTTP.java58 public static final String CONTENT_TYPE = "Content-Type"; field in HTTP
DRequestContent.java95 HTTP.CONTENT_TYPE )) { in process()
DResponseContent.java88 HTTP.CONTENT_TYPE )) { in process()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/
DEABContract.java75 public static final String CONTENT_TYPE = field in EABContract.EABColumns
/external/apache-http/src/org/apache/http/entity/
DAbstractHttpEntity.java149 h = new BasicHeader(HTTP.CONTENT_TYPE, ctString); in setContentType()
/external/apache-http/src/org/apache/http/impl/entity/
DEntityDeserializer.java97 Header contentTypeHeader = message.getFirstHeader(HTTP.CONTENT_TYPE); in doDeserialize()
/external/downloader/src/main/java/com/google/android/downloader/
DDataUrlEngine.java113 return ImmutableMap.of(HttpHeaders.CONTENT_TYPE, ImmutableList.of(dataUrl.mimeType()));
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentType.java79 super(CONTENT_TYPE); in ContentType()
DSIPHeaderNames.java72 public static final String CONTENT_TYPE = ContentTypeHeader.NAME; //24 field

12