public abstract class ArgumentsSerializer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ResponseArguments |
argumentsSerializer
The main serializer used to write the arguments for this service call, to the REST response.
|
| Constructor and Description |
|---|
ArgumentsSerializer(ResponseArguments argumentsSerializer)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
writeArgument(java.io.OutputStream stream,
java.lang.String target,
java.lang.Object val,
javax.servlet.http.HttpServletResponse response)
Serialize this argument's value, considering the target format.
|
protected final ResponseArguments argumentsSerializer
public ArgumentsSerializer(ResponseArguments argumentsSerializer)
argumentsSerializer - The main serializer used to write the arguments for this service call, to the REST response.protected abstract void writeArgument(java.io.OutputStream stream,
java.lang.String target,
java.lang.Object val,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
stream - The response stream.target - The argument's encoded target.val - The argument's value.response - The HTTP response.java.io.IOException