public interface IResponseBuilder
DOMUtils
for formatting the response to an EAS
commandModifier and Type | Method and Description |
---|---|
void |
base64(NamespaceMapping ns,
java.lang.String name,
DisposableByteSource streamable,
Callback<IResponseBuilder> completion) |
IResponseBuilder |
container(NamespaceMapping ns,
java.lang.String name) |
IResponseBuilder |
container(java.lang.String name)
Creates a container with same namespace mapping as parent container
|
void |
end(Callback<java.lang.Void> completion) |
IResponseBuilder |
endContainer()
Closes the active container.
|
void |
opaqueStream(NamespaceMapping ns,
java.lang.String name,
DisposableByteSource streamable,
Callback<IResponseBuilder> completion) |
IResponseBuilder |
start(NamespaceMapping ns) |
void |
stream(NamespaceMapping ns,
java.lang.String name,
DisposableByteSource streamable,
Callback<IResponseBuilder> completion) |
void |
stream(java.lang.String name,
DisposableByteSource streamable,
Callback<IResponseBuilder> completion) |
IResponseBuilder |
text(NamespaceMapping ns,
java.lang.String name,
java.lang.String value) |
IResponseBuilder |
text(java.lang.String name,
java.lang.String value) |
IResponseBuilder |
token(NamespaceMapping ns,
java.lang.String name) |
IResponseBuilder |
token(java.lang.String name)
Empty element.
|
IResponseBuilder start(NamespaceMapping ns)
IResponseBuilder container(NamespaceMapping ns, java.lang.String name)
IResponseBuilder container(java.lang.String name)
name
- IResponseBuilder text(NamespaceMapping ns, java.lang.String name, java.lang.String value)
IResponseBuilder text(java.lang.String name, java.lang.String value)
IResponseBuilder endContainer()
IResponseBuilder token(java.lang.String name)
name
- IResponseBuilder token(NamespaceMapping ns, java.lang.String name)
void stream(NamespaceMapping ns, java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
void base64(NamespaceMapping ns, java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
void stream(java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
void opaqueStream(NamespaceMapping ns, java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
void end(Callback<java.lang.Void> completion)
Copyright © 2021. All Rights Reserved.