public class WbxmlResponseBuilder extends java.lang.Object implements IResponseBuilder
Constructor and Description |
---|
WbxmlResponseBuilder(java.lang.String loginForSifting,
WbxmlOutput output) |
Modifier 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.
|
public WbxmlResponseBuilder(java.lang.String loginForSifting, WbxmlOutput output)
public IResponseBuilder start(NamespaceMapping ns)
start
in interface IResponseBuilder
public IResponseBuilder container(NamespaceMapping ns, java.lang.String name)
container
in interface IResponseBuilder
public IResponseBuilder container(java.lang.String name)
IResponseBuilder
container
in interface IResponseBuilder
public IResponseBuilder token(NamespaceMapping ns, java.lang.String name)
token
in interface IResponseBuilder
public IResponseBuilder token(java.lang.String name)
IResponseBuilder
token
in interface IResponseBuilder
public IResponseBuilder text(NamespaceMapping ns, java.lang.String name, java.lang.String value)
text
in interface IResponseBuilder
public IResponseBuilder text(java.lang.String name, java.lang.String value)
text
in interface IResponseBuilder
public void stream(NamespaceMapping ns, java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
stream
in interface IResponseBuilder
public void base64(NamespaceMapping ns, java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
base64
in interface IResponseBuilder
public void stream(java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
stream
in interface IResponseBuilder
public IResponseBuilder endContainer()
IResponseBuilder
endContainer
in interface IResponseBuilder
public void opaqueStream(NamespaceMapping ns, java.lang.String name, DisposableByteSource streamable, Callback<IResponseBuilder> completion)
opaqueStream
in interface IResponseBuilder
public void end(Callback<java.lang.Void> completion)
end
in interface IResponseBuilder
Copyright © 2021. All Rights Reserved.