Searched refs:contentTypeHeader (Results 1 – 10 of 10) sorted by relevance
19 private ContentTypeHeader contentTypeHeader; field in ContentImpl44 return contentTypeHeader; in getContentTypeHeader()97 public void setContentTypeHeader(ContentTypeHeader contentTypeHeader) { in setContentTypeHeader() argument98 this.contentTypeHeader = contentTypeHeader; in setContentTypeHeader()
38 public MultipartMimeContentImpl(ContentTypeHeader contentTypeHeader) { in MultipartMimeContentImpl() argument39 this.multipartMimeContentTypeHeader = contentTypeHeader; in MultipartMimeContentImpl()40 this.boundary = contentTypeHeader.getParameter(BOUNDARY); in MultipartMimeContentImpl()
1232 public void setContent(Object content, ContentTypeHeader contentTypeHeader) in setContent() argument1236 this.setHeader(contentTypeHeader); in setContent()
16 HttpEntityBody(HttpEntity entity, String contentTypeHeader) { in HttpEntityBody() argument19 if (contentTypeHeader != null) { in HttpEntityBody()20 mediaType = MediaType.parse(contentTypeHeader); in HttpEntityBody()
97 Header contentTypeHeader = message.getFirstHeader(HTTP.CONTENT_TYPE); in doDeserialize() local98 if (contentTypeHeader != null) { in doDeserialize()99 entity.setContentType(contentTypeHeader); in doDeserialize()
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);
398 String contentTypeHeader = headers.getContentType(); in receiveResponseEntity() local399 if (contentTypeHeader != null) { in receiveResponseEntity()400 entity.setContentType(contentTypeHeader); in receiveResponseEntity()
48 void setContent(Object content, ContentTypeHeader contentTypeHeader) in setContent() argument
1002 String contentTypeHeader = headers.get("content-type"); in parseBody() local1005 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()
61 @Test public void contentTypeHeader() { in contentTypeHeader() method in MainTest