public abstract class AbstractDefaultToStringRenderable
extends java.lang.Object
Renderable#toString()
and allows access to parameters and context objects.Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Object> |
params
The parameters used in the current tool call.
|
protected HttpServletRequest |
request
The HTTP request.
|
protected HttpServletResponse |
response
The HTTP response.
|
protected Context |
velocityContext
The Velocity context.
|
Constructor and Description |
---|
AbstractDefaultToStringRenderable(Context velocityContext,
java.util.Map<java.lang.String,java.lang.Object> params,
HttpServletResponse response,
HttpServletRequest request)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
protected final Context velocityContext
protected final java.util.Map<java.lang.String,java.lang.Object> params
protected final HttpServletResponse response
protected final HttpServletRequest request
public AbstractDefaultToStringRenderable(Context velocityContext, java.util.Map<java.lang.String,java.lang.Object> params, HttpServletResponse response, HttpServletRequest request)
velocityContext
- The Velocity context.params
- The parameters used in the current tool call.response
- The HTTP response.request
- The HTTP request.