public interface NioMultipartParserListener
Listener that will be notified with the progress of the multipart parsing.
| Modifier and Type | Method and Description |
|---|---|
void |
onAllPartsFinished()
Called when all the parts have been read.
|
void |
onError(String message,
Throwable cause)
Called if an error occurs during the multipart parsing.
|
void |
onNestedPartFinished()
Called when a nested part has completed.
|
void |
onNestedPartStarted(Map<String,List<String>> headersFromParentPart)
Called when the parser is about to start a nested multipart.
|
void |
onPartFinished(org.synchronoss.cloud.nio.stream.storage.StreamStorage partBodyStreamStorage,
Map<String,List<String>> headersFromPart)
Called when a part has been parsed.
|
void onPartFinished(org.synchronoss.cloud.nio.stream.storage.StreamStorage partBodyStreamStorage,
Map<String,List<String>> headersFromPart)
Called when a part has been parsed.
partBodyStreamStorage - The StreamStorage from where the part body can be read.headersFromPart - The part headers.void onAllPartsFinished()
Called when all the parts have been read.
void onNestedPartStarted(Map<String,List<String>> headersFromParentPart)
Called when the parser is about to start a nested multipart.
headersFromParentPart - The headers from the parent part.void onNestedPartFinished()
Called when a nested part has completed.
Copyright © 2017. All rights reserved.