Home
last modified time | relevance | path

Searched refs:contentTypeHeader (Results 1 – 10 of 10) sorted by relevance

/external/nist-sip/java/gov/nist/javax/sip/message/
DContentImpl.java19 private ContentTypeHeader contentTypeHeader; field in ContentImpl
44 return contentTypeHeader; in getContentTypeHeader()
97 public void setContentTypeHeader(ContentTypeHeader contentTypeHeader) { in setContentTypeHeader() argument
98 this.contentTypeHeader = contentTypeHeader; in setContentTypeHeader()
DMultipartMimeContentImpl.java38 public MultipartMimeContentImpl(ContentTypeHeader contentTypeHeader) { in MultipartMimeContentImpl() argument
39 this.multipartMimeContentTypeHeader = contentTypeHeader; in MultipartMimeContentImpl()
40 this.boundary = contentTypeHeader.getParameter(BOUNDARY); in MultipartMimeContentImpl()
DSIPMessage.java1232 public void setContent(Object content, ContentTypeHeader contentTypeHeader) in setContent() argument
1236 this.setHeader(contentTypeHeader); in setContent()
/external/okhttp/okhttp-apache/src/main/java/com/squareup/okhttp/apache/
DHttpEntityBody.java16 HttpEntityBody(HttpEntity entity, String contentTypeHeader) { in HttpEntityBody() argument
19 if (contentTypeHeader != null) { in HttpEntityBody()
20 mediaType = MediaType.parse(contentTypeHeader); in HttpEntityBody()
/external/apache-http/src/org/apache/http/impl/entity/
DEntityDeserializer.java97 Header contentTypeHeader = message.getFirstHeader(HTTP.CONTENT_TYPE); in doDeserialize() local
98 if (contentTypeHeader != null) { in doDeserialize()
99 entity.setContentType(contentTypeHeader); in doDeserialize()
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/
DJavaApiConverter.java479 String contentTypeHeader = okHeaders.get("Content-Type");
480 return contentTypeHeader == null ? null : MediaType.parse(contentTypeHeader);
508 String contentTypeHeader = urlConnection.getContentType();
509 return contentTypeHeader == null ? null : MediaType.parse(contentTypeHeader);
/external/apache-http/android/src/android/net/http/
DAndroidHttpClientConnection.java398 String contentTypeHeader = headers.getContentType(); in receiveResponseEntity() local
399 if (contentTypeHeader != null) { in receiveResponseEntity()
400 entity.setContentType(contentTypeHeader); in receiveResponseEntity()
/external/nist-sip/java/javax/sip/message/
DMessage.java48 void setContent(Object content, ContentTypeHeader contentTypeHeader) in setContent() argument
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
DMainTest.java61 @Test public void contentTypeHeader() { in contentTypeHeader() method in MainTest
/external/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java1043 String contentTypeHeader = this.headers.get("content-type"); in parseBody() local
1046 if (contentTypeHeader != null) { in parseBody()
1047 st = new StringTokenizer(contentTypeHeader, ",; "); in parseBody()
1059 …decodeMultipartFormData(getAttributeFromContentHeader(contentTypeHeader, BOUNDARY_PATTERN, null), … in parseBody()
1060 …getAttributeFromContentHeader(contentTypeHeader, CHARSET_PATTERN, "US-ASCII"), fbuf, this.parms, f… in parseBody()
1083 …private String getAttributeFromContentHeader(String contentTypeHeader, Pattern pattern, String def… in getAttributeFromContentHeader() argument
1084 Matcher matcher = pattern.matcher(contentTypeHeader); in getAttributeFromContentHeader()