public final class RestfulWSMessageWriter extends Object implements io.cloudevents.rw.CloudEventWriter<Void>, MessageWriter<RestfulWSMessageWriter,Void>
| Constructor and Description |
|---|
RestfulWSMessageWriter(MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
| Modifier and Type | Method and Description |
|---|---|
RestfulWSMessageWriter |
create(io.cloudevents.SpecVersion version) |
Void |
end() |
Void |
end(io.cloudevents.CloudEventData value) |
Void |
setEvent(EventFormat format,
byte[] value) |
RestfulWSMessageWriter |
withContextAttribute(String name,
String value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithContextAttribute, withContextAttribute, withContextAttribute, withContextAttribute, withContextAttribute, withContextAttributewriteBinary, writeStructured, writeStructuredpublic RestfulWSMessageWriter(MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
public RestfulWSMessageWriter create(io.cloudevents.SpecVersion version)
create in interface io.cloudevents.rw.CloudEventWriterFactory<RestfulWSMessageWriter,Void>public RestfulWSMessageWriter withContextAttribute(String name, String value) throws io.cloudevents.rw.CloudEventRWException
withContextAttribute in interface io.cloudevents.rw.CloudEventContextWriterio.cloudevents.rw.CloudEventRWExceptionpublic Void end(io.cloudevents.CloudEventData value) throws io.cloudevents.rw.CloudEventRWException
end in interface io.cloudevents.rw.CloudEventWriter<Void>io.cloudevents.rw.CloudEventRWExceptionpublic Void setEvent(EventFormat format, byte[] value) throws io.cloudevents.rw.CloudEventRWException
setEvent in interface StructuredMessageWriter<Void>io.cloudevents.rw.CloudEventRWExceptionCopyright © 2021. All rights reserved.