public abstract class AbstractMultipartRequestCallback<T extends OfHeader> extends AbstractRequestCallback<List<T>>
Constructor and Description |
---|
AbstractMultipartRequestCallback(RequestContext<List<T>> context,
Class<?> requestType,
DeviceContext deviceContext,
EventIdentifier eventIdentifier) |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
isMultipart(OfHeader result)
Check if result is multipart.
|
protected abstract boolean |
isReqMore(T result)
Check if result requests more multiparts.
|
void |
onSuccess(OfHeader result) |
getEventIdentifier, onFailure, setResult, spyMessage
public AbstractMultipartRequestCallback(RequestContext<List<T>> context, Class<?> requestType, DeviceContext deviceContext, EventIdentifier eventIdentifier)
public void onSuccess(OfHeader result)
protected abstract boolean isMultipart(OfHeader result)
result
- resultprotected abstract boolean isReqMore(T result)
result
- resultCopyright © 2020 OpenDaylight. All rights reserved.