Searched refs:contentTypeHeader (Results 1 – 10 of 10) sorted by relevance
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | ContentImpl.java | 19 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()
|
D | MultipartMimeContentImpl.java | 38 public MultipartMimeContentImpl(ContentTypeHeader contentTypeHeader) { in MultipartMimeContentImpl() argument 39 this.multipartMimeContentTypeHeader = contentTypeHeader; in MultipartMimeContentImpl() 40 this.boundary = contentTypeHeader.getParameter(BOUNDARY); in MultipartMimeContentImpl()
|
D | SIPMessage.java | 1232 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/ |
D | HttpEntityBody.java | 16 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/ |
D | EntityDeserializer.java | 97 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/ |
D | JavaApiConverter.java | 479 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/ |
D | AndroidHttpClientConnection.java | 398 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/ |
D | Message.java | 48 void setContent(Object content, ContentTypeHeader contentTypeHeader) in setContent() argument
|
/external/nanohttpd/core/src/main/java/fi/iki/elonen/ |
D | NanoHTTPD.java | 1043 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()
|
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/ |
D | MainTest.java | 61 @Test public void contentTypeHeader() { in contentTypeHeader() method in MainTest
|