|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 Summary | ||
---|---|---|
ModelBody |
createModelBody()
Creates a new ModelBody instance to match the request. |
|
R |
createRequest()
Creates a new Request instance. |
|
|
getParameter(String name,
Class<T> type,
T defaultValue)
Extracts a parameter from the tag. |
Method Detail |
---|
R createRequest()
ModelBody createModelBody()
<T> T getParameter(String name, Class<T> type, T defaultValue)
name
- The name of the parameter.defaultValue
- The default value if none is specified.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |