Constructor and Description |
---|
MetadataHttpResponseChannel(javax.ws.rs.container.AsyncResponse asyncResponse,
com.fasterxml.jackson.databind.ObjectWriter writer)
Builds a channel for sending metadata requests back to the user.
|
Modifier and Type | Method and Description |
---|---|
void |
onCompleted() |
void |
onError(Throwable error) |
void |
onNext(String jobView) |
public MetadataHttpResponseChannel(javax.ws.rs.container.AsyncResponse asyncResponse, com.fasterxml.jackson.databind.ObjectWriter writer)
asyncResponse
- The asynchronous response via which we send responses back to the userwriter
- JSON serializer used to serialize error messagespublic void onCompleted()
onCompleted
in interface rx.Observer<String>
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.