public class JspAutotagRuntime extends javax.servlet.jsp.tagext.SimpleTagSupport implements AutotagRuntime<Request>
Constructor and Description |
---|
JspAutotagRuntime() |
Modifier and Type | Method and Description |
---|---|
ModelBody |
createModelBody()
Creates a new ModelBody instance to match the request.
|
Request |
createRequest()
Creates a new Request instance.
|
void |
doTag() |
<T> T |
getParameter(String name,
Class<T> type,
T defaultValue)
Extracts a parameter from the tag.
|
public void doTag()
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
public Request createRequest()
createRequest
in interface AutotagRuntime<Request>
public ModelBody createModelBody()
createModelBody
in interface AutotagRuntime<Request>
public <T> T getParameter(String name, Class<T> type, T defaultValue)
getParameter
in interface AutotagRuntime<Request>
name
- The name of the parameter.defaultValue
- The default value if none is specified.Copyright © 2000–2024 Apache Software Foundation. All rights reserved.