Uses of Class
io.cloudevents.rw.CloudEventRWException
Packages that use CloudEventRWException
-
Uses of CloudEventRWException in io.cloudevents.rw
Methods in io.cloudevents.rw that return CloudEventRWExceptionModifier and TypeMethodDescriptionstatic CloudEventRWExceptionCloudEventRWException.newDataConversion(Throwable cause, String from, String to) static CloudEventRWExceptionCloudEventRWException.newInvalidAttributeName(String attributeName) static CloudEventRWExceptionCloudEventRWException.newInvalidAttributeType(String attributeName, Class<?> clazz) static CloudEventRWExceptionCloudEventRWException.newInvalidAttributeType(String attributeName, Object value) static CloudEventRWExceptionCloudEventRWException.newInvalidAttributeValue(String attributeName, Object value, Throwable cause) static CloudEventRWExceptionCloudEventRWException.newInvalidDataType(String actual, String... allowed) static CloudEventRWExceptionCloudEventRWException.newInvalidExtensionName(String extensionName) static CloudEventRWExceptionCloudEventRWException.newInvalidSpecVersion(String specVersion) static CloudEventRWExceptionAn exception for use where none of the other variants are appropriate.static CloudEventRWExceptionThis wraps aThrowablein a new generic instance of this exception.static CloudEventRWExceptionCloudEventRWException.newUnknownEncodingException()Methods in io.cloudevents.rw that throw CloudEventRWExceptionModifier and TypeMethodDescriptionCloudEventWriterFactory.create(SpecVersion version) Create aCloudEventWriterstarting from the providedSpecVersionCloudEventWriter.end()End the write.CloudEventWriter.end(CloudEventData data) End the write with a data payload.CloudEventDataMapper.map(CloudEventData data) Mapdatato anotherCloudEventDatainstance.default <W extends CloudEventWriter<R>,R>
RCloudEventReader.read(CloudEventWriterFactory<W, R> writerFactory) LikeCloudEventReader.read(CloudEventWriterFactory, CloudEventDataMapper), but with the identityCloudEventDataMapper.<W extends CloudEventWriter<R>,R>
RCloudEventReader.read(CloudEventWriterFactory<W, R> writerFactory, CloudEventDataMapper<? extends CloudEventData> mapper) Read self using the provided writer factory.voidCloudEventContextReader.readContext(CloudEventContextWriter writer) Read the context attributes and extensions using the provided writerdefault CloudEventContextWriterCloudEventContextWriter.withContextAttribute(String name, byte[] value) Set the attribute with a binary type.default CloudEventContextWriterCloudEventContextWriter.withContextAttribute(String name, Boolean value) Set attribute with typeBooleanattribute.default CloudEventContextWriterCloudEventContextWriter.withContextAttribute(String name, Integer value) Set attribute with typeInteger.default CloudEventContextWriterCloudEventContextWriter.withContextAttribute(String name, Number value) Deprecated.CloudEventContextWriter.withContextAttribute(String name, String value) Set attribute with typeString.default CloudEventContextWriterCloudEventContextWriter.withContextAttribute(String name, URI value) Set attribute with typeURI.default CloudEventContextWriterCloudEventContextWriter.withContextAttribute(String name, OffsetDateTime value) Set attribute with typeOffsetDateTimeattribute. -
Uses of CloudEventRWException in io.cloudevents.types
Methods in io.cloudevents.types that throw CloudEventRWExceptionModifier and TypeMethodDescriptionstatic OffsetDateTimeParse an attribute/extension with RFC3339 compliantStringvalue asOffsetDateTime.
Integertype as a numeric value.