/** * Retrieves all <CODE>MimeHeader</CODE> objects that match a name in the given array. * * @param names a <CODE>String</CODE> array with the name(s) of the MIME headers to be returned * @return all of the MIME headers that match one of the names in the given array, returned as * an <CODE>Iterator</CODE> object */ public Iterator getMatchingMimeHeaders(String[] names) { return mimeHeaders.getMatchingHeaders(names); }
@Override public Iterator<MimeHeader> getMatchingMimeHeaders(String[] names) { return headers.getMatchingHeaders(names); }
/** * Retrieves all <CODE>MimeHeader</CODE> objects that match a name in the given array. * * @param names a <CODE>String</CODE> array with the name(s) of the MIME headers to be returned * @return all of the MIME headers that match one of the names in the given array as an * <CODE>Iterator</CODE> object */ public Iterator getMatchingMimeHeaders(String names[]) { return mimeHeaders.getMatchingHeaders(names); }
/** * Retrieves all <CODE>MimeHeader</CODE> objects that match a name in the given array. * * @param names a <CODE>String</CODE> array with the name(s) of the MIME headers to be returned * @return all of the MIME headers that match one of the names in the given array as an * <CODE>Iterator</CODE> object */ public Iterator getMatchingMimeHeaders(String names[]) { return mimeHeaders.getMatchingHeaders(names); }
@Override public Iterator<MimeHeader> getMatchingMimeHeaders(String[] names) { return headers.getMatchingHeaders(names); }
/** * Retrieves all <CODE>MimeHeader</CODE> objects that match a name in the given array. * * @param names a <CODE>String</CODE> array with the name(s) of the MIME headers to be returned * @return all of the MIME headers that match one of the names in the given array, returned as * an <CODE>Iterator</CODE> object */ public Iterator getMatchingMimeHeaders(String[] names) { return mimeHeaders.getMatchingHeaders(names); }
public java.util.Iterator getMatchingMimeHeaders(final String[] match) { return mimeHeaders.getMatchingHeaders(match); }
public java.util.Iterator getMatchingMimeHeaders(final String[] match) { return mimeHeaders.getMatchingHeaders(match); }
public java.util.Iterator getMatchingMimeHeaders(final String[] match) { return mimeHeaders.getMatchingHeaders(match); }
public Iterator getMatchingMimeHeaders(String[] names) { clearHeaderCache(); return mimeHeaders.getMatchingHeaders(names); }
public Iterator getMatchingMimeHeaders(String names[]) { MimeHeaders mimeHeaders = soapMessage.getMimeHeaders(); return mimeHeaders.getMatchingHeaders(names); }
private String convertAbsolute2Relative(String clocation) { MimeHeaders mimeHeaders = this.getMimeHeaders(); String enclsgClocation = null; if (mimeHeaders != null) { Iterator clocs = mimeHeaders.getMatchingHeaders( new String[] {MimeConstants.CONTENT_LOCATION}); if (clocs != null) { MimeHeader mh = (MimeHeader)clocs.next(); if (mh != null) enclsgClocation = mh.getValue(); } } /* absolute URI can be of the form - http://xxx, thismessage:/xxx, baseUri+xxx */ if (enclsgClocation != null && clocation.startsWith(enclsgClocation)) clocation = clocation.substring(enclsgClocation.length()); else if (clocation.startsWith("thismessage:/")) clocation = clocation.substring("thismessage:/".length()); return clocation; }