public class SingleLayerFlowMultipartRequestOnTheFlyCallback<T extends OfHeader> extends AbstractMultipartRequestOnTheFlyCallback<T>
Constructor and Description |
---|
SingleLayerFlowMultipartRequestOnTheFlyCallback(RequestContext<List<T>> context,
Class<?> requestType,
DeviceContext deviceContext,
EventIdentifier eventIdentifier,
MultipartWriterProvider statisticsWriterProvider) |
Modifier and Type | Method and Description |
---|---|
protected MultipartType |
getMultipartType()
Get multipart type.
|
protected boolean |
isMultipart(OfHeader result)
Check if result is multipart.
|
protected boolean |
isReqMore(T result)
Check if result requests more multiparts.
|
getTxFacade, onSuccess
getEventIdentifier, onFailure, setResult, spyMessage
public SingleLayerFlowMultipartRequestOnTheFlyCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier, MultipartWriterProvider statisticsWriterProvider)
protected boolean isMultipart(OfHeader result)
AbstractMultipartRequestCallback
isMultipart
in class AbstractMultipartRequestCallback<T extends OfHeader>
result
- resultprotected boolean isReqMore(T result)
AbstractMultipartRequestCallback
isReqMore
in class AbstractMultipartRequestCallback<T extends OfHeader>
result
- resultprotected MultipartType getMultipartType()
AbstractMultipartRequestOnTheFlyCallback
getMultipartType
in class AbstractMultipartRequestOnTheFlyCallback<T extends OfHeader>
Copyright © 2020 OpenDaylight. All rights reserved.