Searched refs:cid (Results 1 - 25 of 33) sorted by relevance

12

/openjdk9/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/attachment/
H A DAttachmentUnmarshaller.java42 * <h2>Identifying the content-id, cid, to pass to {@code getAttachment*(String cid)}</h2>
45 * For XOP processing, the infoset representation of the cid is described
50 * For WS-I AP 1.0, the cid is identified as an element or attribute of
71 * <p>Lookup MIME content by content-id, {@code cid}, and return as a {@link DataHandler}.</p>
107 * @param cid It is expected to be a valid lexical form of the XML Schema
109 * it must be a valid URI per the {@code cid:} URI scheme (see <a href="http://www.ietf.org/rfc/rfc2387.txt">RFC 2387</a>)
114 * @throws IllegalArgumentException if the attachment for the given cid is not found.
116 public abstract DataHandler getAttachmentAsDataHandler(String cid); argument
119 * <p>Retrieve the attachment identified by content-id, {@code cid}, a
129 getAttachmentAsByteArray(String cid) argument
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/message/
H A DAttachmentUnmarshallerImpl.java53 public DataHandler getAttachmentAsDataHandler(String cid) { argument
54 Attachment a = attachments.get(stripScheme(cid));
56 throw new WebServiceException(EncodingMessages.NO_SUCH_CONTENT_ID(cid));
61 public byte[] getAttachmentAsByteArray(String cid) { argument
62 Attachment a = attachments.get(stripScheme(cid));
64 throw new WebServiceException(EncodingMessages.NO_SUCH_CONTENT_ID(cid));
69 * The CID reference has 'cid:' prefix, so get rid of it.
71 private String stripScheme(String cid) { argument
72 if(cid.startsWith("cid
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/message/jaxb/
H A DAttachmentMarshallerImpl.java81 String cid = encodeCid(null);
82 Attachment att = new DataHandlerAttachment(cid, data);
84 cid = "cid:" + cid;
85 return cid;
89 String cid = "example.jaxws.sun.com";
94 cid = uri.toURL().getHost();
102 cid = URLEncoder.encode(ns, "UTF-8");
108 return name + cid;
[all...]
/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/mimepull/
H A DMIMEMessage.java156 private MIMEPart getDecodedCidPart(String cid) { argument
157 MIMEPart part = partsMap.get(cid);
159 if (cid.indexOf('%') != -1) {
161 String tempCid = URLDecoder.decode(cid, "utf-8");
230 String cid = (cids != null) ? cids.get(0) : currentIndex + "";
231 if (cid.length() > 2 && cid.charAt(0) == '<') {
232 cid = cid.substring(1, cid
[all...]
H A DMIMEPart.java243 * @param cid Content-ID of the part
245 void setContentId(String cid) { argument
246 this.contentId = cid;
/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/org/jvnet/staxex/
H A DStreamingDataHandler.java151 public void setHrefCid(final String cid) { argument
152 this.hrefCid = cid;
H A DBase64Data.java542 public void setHrefCid(final String cid) { argument
543 this.hrefCid = cid;
544 if (dataHandler != null && dataHandler instanceof StreamingDataHandler) ((StreamingDataHandler)dataHandler).setHrefCid(cid);
/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/
H A DSwaRefAdapter.java59 public DataHandler unmarshal(String cid) { argument
62 return au.getAttachmentAsDataHandler(cid);
/openjdk9/jdk/src/java.base/share/classes/sun/security/ssl/
H A DStatusResponseManager.java257 CertId cid = new CertId(chain[1],
259 ResponseCacheEntry cacheEntry = getFromCache(cid, ocspReq);
263 StatusInfo sInfo = new StatusInfo(chain[0], cid);
280 CertId cid = new CertId(chain[ctr + 1],
282 ResponseCacheEntry cacheEntry = getFromCache(cid, ocspReq);
286 StatusInfo sInfo = new StatusInfo(chain[ctr], cid);
336 * @param cid the CertId of the response to look up
344 private ResponseCacheEntry getFromCache(CertId cid, argument
355 ResponseCacheEntry respEntry = responseCache.get(cid);
366 debugLog("Check cache for SN" + cid
419 final CertId cid; field in class:StatusResponseManager.StatusInfo
501 ResponseCacheEntry(byte[] responseBytes, CertId cid) argument
[all...]
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/encoding/
H A DMtomCodec.java216 String cid = null;
220 cid = sdh.getHrefCid();
222 this.contentId = cid != null ? cid : encodeCid();
236 String cid = contentId;
237 if(cid != null && cid.length() >0 && cid.charAt(0) != '<')
238 cid = '<' + cid
590 decodeCid(String cid) argument
599 getAttachment(String cid) argument
[all...]
H A DMimeCodec.java112 String cid = att.getContentId();
113 if(cid != null && cid.length() >0 && cid.charAt(0) != '<')
114 cid = '<' + cid + '>';
115 writeln("Content-Id:" + cid, out);
H A DMimeMultipartParser.java124 String cid = part.getContentId();
125 if (!attachments.containsKey(cid)) {
/openjdk9/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/output/
H A DMTOMXmlOutput.java108 String cid;
110 cid = serializer.attachmentMarshaller.addMtomAttachment(
113 cid = serializer.attachmentMarshaller.addMtomAttachment(
116 if(cid!=null) {
120 attribute(-1,"href",cid);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/handler/
H A DServerSOAPHandlerTube.java142 String cid = entry.getKey();
143 if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice
144 Attachment att = new DataHandlerAttachment(cid, atts.get(cid));
H A DServerMessageHandlerTube.java87 String cid = entry.getKey();
88 if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice
89 Attachment att = new DataHandlerAttachment(cid, atts.get(cid));
H A DClientSOAPHandlerTube.java118 String cid = entry.getKey();
119 if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice
120 Attachment att = new DataHandlerAttachment(cid, atts.get(cid));
H A DMessageContextImpl.java117 String cid = att.getContentId();
118 if (cid.indexOf("@jaxws.sun.com") == -1) {
119 Object a = atts.get(cid);
121 a = atts.get("<" + cid + ">");
H A DClientMessageHandlerTube.java97 String cid = entry.getKey();
98 if (attSet.get(cid) == null) { // Otherwise we would be adding attachments twice
99 Attachment att = new DataHandlerAttachment(cid, atts.get(cid));
H A DServerLogicalHandlerTube.java161 String cid = entry.getKey();
162 Attachment att = new DataHandlerAttachment(cid, atts.get(cid));
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/message/saaj/
H A DSAAJFactory.java311 String cid = att.getContentId();
312 if (cid != null) {
313 if (cid.startsWith("<") && cid.endsWith(">"))
314 part.setContentId(cid);
316 part.setContentId('<' + cid + '>');
/openjdk9/jdk/test/java/security/testlibrary/
H A DSimpleOCSPServer.java439 CertId cid = new CertId(issuerCert,
441 statusDb.put(cid, info);
467 CertId cid = req.getCertId();
468 CertStatusInfo info = statusDb.get(cid);
470 log("Status for SN " + cid.getSerialNumber() + ": " +
472 returnMap.put(cid, info);
474 log("Status for SN " + cid.getSerialNumber() +
476 returnMap.put(cid,
1099 private final CertId cid; field in class:SimpleOCSPServer.LocalOcspRequest.LocalSingleRequest
1109 cid
1467 LocalSingleResponse(CertId cid, CertStatusInfo info) argument
[all...]
/openjdk9/jdk/test/sun/security/provider/certpath/OCSP/
H A DOCSPSingleExtensions.java137 CertId cid) throws IOException {
140 OCSPResponse.SingleResponse sr = or.getSingleResponse(cid);
136 getSRByFilename(String fileName, CertId cid) argument
/openjdk9/jdk/test/javax/management/remote/mandatory/connection/
H A DIdleTimeoutTest.java255 final String cid = client.getConnectionId();
258 System.out.println("Got conn id <" + cid + "> at: " +
261 if (!connId.equals(cid)) {
263 "> -> <" + cid +
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/util/stax/
H A DSaajStaxWriterEx.java197 String cid = "example.jaxws.sun.com";
199 return name + cid;
209 String prefixedCid = (hrefOrCid.startsWith("cid:")) ? hrefOrCid : "cid:" + hrefOrCid;
248 return "cid:"+encodeCid();
/openjdk9/jdk/src/java.desktop/unix/native/libawt_xawt/awt/
H A Dgtk2_interface.c2323 static jobject create_Object(JNIEnv *env, jmethodID *cid, argument
2335 if( *cid == NULL)
2337 *cid = (*env)->GetMethodID(env, class, "<init>", signature);
2338 if( *cid == NULL )
2345 result = (*env)->NewObjectA(env, class, *cid, value);
2353 static jmethodID cid = NULL; local
2358 return create_Object(env, &cid, "java/lang/Boolean", "(Z)V", &value);
2363 static jmethodID cid = NULL; local
2368 return create_Object(env, &cid, "java/lang/Integer", "(I)V", &value);
2373 static jmethodID cid local
2383 static jmethodID cid = NULL; local
2393 static jmethodID cid = NULL; local
2403 static jmethodID cid = NULL; local
2414 static jmethodID cid = NULL; local
[all...]

Completed in 390 milliseconds

12