T - the generic type of the output valueA - the generic type of the message attributespublic class LegacyResultAdapter<T,A>
extends org.mule.runtime.extension.api.runtime.operation.Result<T,A>
Result into a legacy Result| Constructor and Description |
|---|
LegacyResultAdapter(org.mule.sdk.api.runtime.operation.Result<T,A> delegate) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.runtime.operation.Result.Builder<T,A> |
copy() |
static <T,A> org.mule.runtime.extension.api.runtime.operation.Result<T,A> |
from(Object value) |
Optional<A> |
getAttributes() |
Optional<org.mule.runtime.api.metadata.MediaType> |
getAttributesMediaType() |
OptionalLong |
getByteLength() |
Optional<org.mule.runtime.api.metadata.MediaType> |
getMediaType() |
T |
getOutput() |
public static <T,A> org.mule.runtime.extension.api.runtime.operation.Result<T,A> from(Object value)
public T getOutput()
public Optional<org.mule.runtime.api.metadata.MediaType> getMediaType()
public OptionalLong getByteLength()
Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.