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/nanohttpd/core/src/main/java/fi/iki/elonen/
DNanoHTTPD.java1002 String contentTypeHeader = headers.get("content-type"); in parseBody() local
1005 if (contentTypeHeader != null) { in parseBody()
1006 st = new StringTokenizer(contentTypeHeader, ",; "); in parseBody()
1019 …int boundaryContentStart = contentTypeHeader.indexOf(boundaryStartString) + boundaryStartString.le… in parseBody()
1020 … String boundary = contentTypeHeader.substring(boundaryContentStart, contentTypeHeader.length()); in parseBody()
/external/okhttp/okcurl/src/test/java/com/squareup/okhttp/curl/
DMainTest.java61 @Test public void contentTypeHeader() { in contentTypeHeader() method in MainTest