Searched defs:contentType (Results 26 - 50 of 74) sorted by relevance

123

/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DSignerInfoGenerator.java170 public SignerInfo generate(ASN1ObjectIdentifier contentType) argument
194 Map parameters = getBaseParameters(contentType, digester.getAlgorithmIdentifier(), digestEncryptionAlgorithm, calculatedDigest);
225 Map parameters = getBaseParameters(contentType, digestAlg, digestEncryptionAlgorithm, calculatedDigest);
258 private Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, AlgorithmIdentifier sigAlgId, byte[] hash) argument
262 if (contentType != null)
264 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
H A DCMSSignedGenerator.java99 protected Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument
102 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
H A DSignerInformation.java45 private final ASN1ObjectIdentifier contentType; field in class:SignerInformation
61 ASN1ObjectIdentifier contentType,
66 this.contentType = contentType;
67 this.isCounterSignature = contentType == null;
104 this.contentType = baseInfo.contentType;
123 return this.contentType;
426 CMSAttributes.contentType, "content-type");
448 if (!signedContentType.equals(contentType))
59 SignerInformation( SignerInfo info, ASN1ObjectIdentifier contentType, CMSProcessable content, byte[] resultDigest) argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DMultipartBuilder.java198 private final MediaType contentType; field in class:MultipartBuilder.MultipartRequestBody
208 this.contentType = MediaType.parse(type + "; boundary=" + boundary.utf8());
213 @Override public MediaType contentType() { method in class:MultipartBuilder.MultipartRequestBody
214 return contentType;
254 MediaType contentType = body.contentType();
255 if (contentType != null) {
257 .writeUtf8(contentType.toString())
H A DCache.java660 String contentType = responseHeaders.get("Content-Type");
673 .body(new CacheResponseBody(snapshot, contentType, contentLength))
695 private final String contentType; field in class:Cache.CacheResponseBody
699 String contentType, String contentLength) {
701 this.contentType = contentType;
713 @Override public MediaType contentType() { method in class:Cache.CacheResponseBody
714 return contentType != null ? MediaType.parse(contentType) : null;
698 CacheResponseBody(final DiskLruCache.Snapshot snapshot, String contentType, String contentLength) argument
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DAntiSamyTest.java799 private static String guessCharsetFromContentType(String contentType) { argument
801 .matcher(contentType);
/external/jsilver/src/com/google/clearsilver/jsilver/autoescape/
H A DAutoEscapeContext.java454 * contentType} provided. This method should be used when the starting auto escaping context of a
458 * @param contentType MIME type header representing the content being parsed.
461 public void setContentType(String contentType) { argument
462 HtmlParser.Mode mode = CONTENT_TYPE_LIST.get(contentType);
464 throw new JSilverAutoEscapingException("Invalid content type specified: " + contentType,
/external/nist-sip/java/gov/nist/javax/sip/message/
H A DMessageFactoryImpl.java114 * @param contentType -
124 MaxForwardsHeader maxForwards, ContentTypeHeader contentType,
129 || contentType == null)
141 sipRequest.setContent(content, contentType);
171 * @param contentType -
181 ContentTypeHeader contentType) throws ParseException {
185 || contentType == null)
199 sipRequest.setHeader((ContentType) contentType);
279 * @param contentType -
289 ContentTypeHeader contentType) throw
121 createRequest(javax.sip.address.URI requestURI, String method, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, Object content) argument
178 createRequest(URI requestURI, String method, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, byte[] content, ContentTypeHeader contentType) argument
286 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, Object content, ContentTypeHeader contentType) argument
343 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, byte[] content, ContentTypeHeader contentType) argument
433 createResponse(int statusCode, Request request, ContentTypeHeader contentType, Object content) argument
466 createResponse(int statusCode, Request request, ContentTypeHeader contentType, byte[] content) argument
544 createRequest(javax.sip.address.URI requestURI, String method, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, byte[] content) argument
598 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, Object content) argument
654 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, byte[] content) argument
831 createMultipartMimeContent(ContentTypeHeader multipartMimeCth, String[] contentType, String[] contentSubtype, String[] contentBody) argument
[all...]
/external/oauth/core/src/main/java/net/oauth/
H A DOAuth.java76 public static boolean isFormEncoded(String contentType) { argument
77 if (contentType == null) {
80 int semi = contentType.indexOf(";");
82 contentType = contentType.substring(0, semi);
84 return FORM_ENCODED.equalsIgnoreCase(contentType.trim());
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/media/
H A DBluetoothMediaPlayback.java106 private AudioAttributes createAudioAttributes(int contentType, int usage) { argument
108 return builder.setContentType(contentType).setUsage(usage).build();
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
H A DRobolectric.java1084 * @param contentType the contentType of the response
1088 public static void addPendingHttpResponseWithContentType(int statusCode, String responseBody, Header contentType) { argument
1089 getFakeHttpLayer().addPendingHttpResponse(statusCode, responseBody, contentType);
/external/nist-sip/java/javax/sip/header/
H A DHeaderFactory.java17 AcceptHeader createAcceptHeader(String contentType, String contentSubType) argument
54 ContentTypeHeader createContentTypeHeader(String contentType, argument
/external/guice/extensions/struts2/lib/
H A Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/fileupload/ ...
H A Djetty-util-6.1.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/mortbay/ org/mortbay/util/ org/mortbay/util/ajax/ ...
/external/libphonenumber/demo/war/WEB-INF/lib/
H A Dcommons-fileupload-1.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/commons/ org/apache/commons/fileupload/ ...
/external/libbrillo/brillo/http/
H A Dhttp_request.cc168 void Request::SetContentType(const std::string& contentType) { argument
170 content_type_ = contentType;
/external/libxml2/
H A Dnanohttp.c150 char *contentType; /* the MIME type for the input */ member in struct:xmlNanoHTTPCtxt
153 char *encoding; /* encoding extracted from the contentType */
154 char *mimeType; /* Mime-Type extracted from the contentType */
425 if (ctxt->contentType != NULL) xmlFree(ctxt->contentType);
740 if (ctxt->contentType != NULL)
741 xmlFree(ctxt->contentType);
742 ctxt->contentType = xmlMemStrdup(cur);
751 charset = xmlStrstr(BAD_CAST ctxt->contentType, BAD_CAST "charset=");
765 if (ctxt->contentType !
1227 xmlNanoHTTPOpen(const char *URL, char **contentType) argument
1247 xmlNanoHTTPOpenRedir(const char *URL, char **contentType, char **redir) argument
1348 xmlNanoHTTPMethodRedir(const char *URL, const char *method, const char *input, char **contentType, char **redir, const char *headers, int ilen ) argument
1603 xmlNanoHTTPMethod(const char *URL, const char *method, const char *input, char **contentType, const char *headers, int ilen) argument
1623 xmlNanoHTTPFetch(const char *URL, const char *filename, char **contentType) argument
1860 char *contentType = NULL; local
[all...]
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DHeaderFactoryImpl.java97 * Creates a new AcceptHeader based on the newly supplied contentType and
100 * @param contentType The new string content type value.
107 String contentType,
110 if (contentType == null || contentSubType == null)
111 throw new NullPointerException("contentType or subtype is null ");
113 accept.setContentType(contentType);
402 * Creates a new ContentTypeHeader based on the newly supplied contentType and
405 * @param contentType - the new string content type value.
412 String contentType,
415 if (contentType
106 createAcceptHeader( String contentType, String contentSubType) argument
411 createContentTypeHeader( String contentType, String contentSubType) argument
[all...]
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.core.contenttype_3.5.0.v20150421-2214.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/curl/lib/
H A Dhttp.c2447 char *contentType; local
2449 contentType = Curl_formpostheader((void *)&http->form,
2451 if(!contentType) {
2456 result = Curl_add_buffer(req_buffer, contentType, linelength);
/external/libvncserver/libvncserver/
H A Drfbserver.c1191 rfbBool rfbSendFileTransferMessage(rfbClientPtr cl, uint8_t contentType, uint8_t contentParam, uint32_t size, uint32_t length, const char *buffer) argument
1195 ft.contentType = contentType;
1203 rfbLog("rfbSendFileTransferMessage( %dtype, %dparam, %dsize, %dlen, %p)\n", contentType, contentParam, size, length, buffer);
1581 rfbBool rfbProcessFileTransfer(rfbClientPtr cl, uint8_t contentType, uint8_t contentParam, uint32_t size, uint32_t length) argument
1601 rfbLog("rfbProcessFileTransfer(%dtype, %dparam, %dsize, %dlen)\n", contentType, contentParam, size, length);
1604 switch (contentType) {
2465 rfbProcessFileTransfer(cl, msg.ft.contentType, msg.ft.contentParam, msg.ft.size, msg.ft.length);
/external/pdfium/fpdfsdk/
H A Dcpdfsdk_formfillenvironment.cpp493 FPDF_WIDESTRING contentType = local
506 m_pInfo->FFI_PostRequestURL(m_pInfo, URL, data, contentType, encode, header,
/external/libxml2/include/libxml/
H A DschemasInternals.h617 xmlSchemaContentType contentType; member in struct:_xmlSchemaType
790 xmlSchemaContentType contentType; member in struct:_xmlSchemaElement
/external/libvncserver/rfb/
H A Drfbproto.h1026 uint8_t contentType; /* See defines below */ member in struct:_rfbFileTransferMsg
/external/skia/tools/debugger/
H A DSkDrawCommand.cpp709 static void encode_data(const void* bytes, size_t count, const char* contentType, argument
712 SkString url = urlDataManager.addData(data.get(), contentType);

Completed in 842 milliseconds

123