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