T - The subsection extractor subclasspublic interface PayloadSubsectionExtractor<T extends PayloadSubsectionExtractor<T>>
| Modifier and Type | Method and Description |
|---|---|
byte[] |
extractSubsection(byte[] payload,
MediaType contentType)
Extracts a subsection of the given
payload that has the given
contentType. |
String |
getSubsectionId()
Returns an identifier for the subsection that this extractor will extract.
|
T |
withSubsectionId(String subsectionId)
Returns an extractor with the given
subsectionId. |
byte[] extractSubsection(byte[] payload,
MediaType contentType)
payload that has the given
contentType.payload - the payloadcontentType - the content type of the payloadString getSubsectionId()