How to consume a nested multipart/mixed mime type in jersey
问题 I have googled for a long time, but no answer. I hope someone can help me. Say, I received a multipart/mixed package in jersey server side, its structure looks like this: multipart/mixed | |---Title: text/plain | |---Text content: text/plain | |---Image content: multipart/mixed | | | |--- Image name: text/plain | | | |--- Image body: image/jpeg | |......... The first two bodypart can be easily processed by using bodypart.getEntityAs(Class clazz) method. But for the nested multipart, i can