public final class AttachmentUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
IN_FILTERS |
static String |
OUT_FILTERS |
public static final String OUT_FILTERS
public static final String IN_FILTERS
public static void addMultipartOutFilter(MultipartOutputFilter filter)
public static void addMultipartInFilter(MultipartInputFilter filter)
public static MultipartBody getMultipartBody(MessageContext mc)
public static Map<String,Attachment> getChildAttachmentsMap(MessageContext mc, boolean preferContentDisposition)
public static Map<String,Attachment> getChildAttachmentsMap(MessageContext mc)
public static List<Attachment> getChildAttachments(MessageContext mc)
public static Map<String,Attachment> getAttachmentsMap(MessageContext mc, boolean preferContentDisposition)
public static Map<String,Attachment> getAttachmentsMap(MessageContext mc)
public static List<Attachment> getAttachments(MessageContext mc)
public static Attachment getFirstMatchingPart(MessageContext mc, Multipart id)
public static Attachment getFirstMatchingPart(MessageContext mc, String id)
public static Attachment getFirstMatchingPart(MessageContext mc, String id, String mediaType)
public static MultipartBody getMultipartBody(MessageContext mc, String attachmentDir, String attachmentThreshold, String attachmentMaxSize)
public static List<Attachment> getAttachments(MessageContext mc, String attachmentDir, String attachmentThreshold, String attachmentMaxSize)
public static Attachment getMultipart(Multipart id, javax.ws.rs.core.MediaType mt, List<Attachment> infos) throws IOException
IOException
public static List<Attachment> getMatchingAttachments(Multipart id, List<Attachment> infos)
public static List<Attachment> getMatchingAttachments(String id, List<Attachment> infos)
public static List<Attachment> getMatchingAttachments(String id, String mediaType, List<Attachment> infos)
public static boolean matchAttachmentId(Attachment at, Multipart mid)
public static boolean matchAttachmentId(Attachment at, String value)
public static javax.ws.rs.core.MultivaluedMap<String,String> populateFormMap(MessageContext mc, boolean errorIfMissing)
public static javax.ws.rs.core.MultivaluedMap<String,String> populateFormMap(MessageContext mc)
Apache CXF