Interface AutotagRuntime<R>
- All Known Implementing Classes:
- FreemarkerAutotagRuntime,- JspAutotagRuntime,- VelocityAutotagRuntime
public interface AutotagRuntime<R>
Builder interface for creating requests.
 The implementations are expected to provide a default constructor,
 and to implement another interface that can be used to provide the
 parameters needed to build the actual request object.
- 
Method SummaryModifier and TypeMethodDescriptionCreates a new ModelBody instance to match the request.Creates a new Request instance.<T> TgetParameter(String name, Class<T> type, T defaultValue) Extracts a parameter from the tag.
- 
Method Details- 
createRequestR createRequest()Creates a new Request instance.- Returns:
- The Request.
 
- 
createModelBodyModelBody createModelBody()Creates a new ModelBody instance to match the request.- Returns:
- The ModelBody.
 
- 
getParameterExtracts a parameter from the tag.- Parameters:
- name- The name of the parameter.
- defaultValue- The default value if none is specified.
- Returns:
- The value of the parameter.
 
 
-