public class MultipartRelatedInputImpl extends MultipartInputImpl implements MultipartRelatedInput
MultipartRelatedInput by extending
MultipartInputImpl and adding multipart/related functionality.MultipartInputImpl.PartImplcontentType, defaultPartCharset, defaultPartContentType, empty, mimeMessage, parts, savedProviders, workers| Constructor and Description |
|---|
MultipartRelatedInputImpl(javax.ws.rs.core.MediaType contentType,
javax.ws.rs.ext.Providers workers) |
| Modifier and Type | Method and Description |
|---|---|
protected InputPart |
extractPart(org.apache.james.mime4j.message.BodyPart bodyPart) |
Map<String,InputPart> |
getRelatedMap() |
InputPart |
getRootPart() |
String |
getStart()
A start parameter is not mandatory in a message.
|
String |
getStartInfo()
Optional.
|
String |
getType()
The type parameter as it was read from the content-type header of the
multipart/related message.
|
void |
parse(InputStream is) |
addHeaderToHeadlessStream, close, createHeaderInputStream, extractParts, finalize, getCharset, getParts, getPreamble, main, setProvidersclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getParts, getPreamblepublic MultipartRelatedInputImpl(javax.ws.rs.core.MediaType contentType,
javax.ws.rs.ext.Providers workers)
public void parse(InputStream is) throws IOException
parse in class MultipartInputImplIOExceptionprotected InputPart extractPart(org.apache.james.mime4j.message.BodyPart bodyPart) throws IOException
extractPart in class MultipartInputImplIOExceptionpublic Map<String,InputPart> getRelatedMap()
getRelatedMap in interface MultipartRelatedInputpublic InputPart getRootPart()
getRootPart in interface MultipartRelatedInputpublic String getStart()
MultipartRelatedInputgetStart in interface MultipartRelatedInputpublic String getStartInfo()
MultipartRelatedInputgetStartInfo in interface MultipartRelatedInputpublic String getType()
MultipartRelatedInputgetType in interface MultipartRelatedInputCopyright © 2016 JBoss by Red Hat. All rights reserved.