Package jetbrains.buildServer.web.jsp
Class RestApiInternalRequestTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.SimpleTagSupport
-
- jetbrains.buildServer.web.jsp.RestApiInternalRequestTag
-
- All Implemented Interfaces:
javax.servlet.jsp.tagext.DynamicAttributes
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.SimpleTag
public class RestApiInternalRequestTag extends javax.servlet.jsp.tagext.SimpleTagSupport implements javax.servlet.jsp.tagext.DynamicAttributes
Allows to perform internal requests to the Rest API. The 'Content-Type' of the response is JSON. Writes the Rest API response to the output.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestApiInternalRequestTag.Result
-
Field Summary
Fields Modifier and Type Field Description static String
REQUEST_ARGUMENTS_PREFIX
-
Constructor Summary
Constructors Constructor Description RestApiInternalRequestTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doTag()
void
setDynamicAttribute(String uri, String localName, Object value)
void
setPath(String path)
void
setQuery(String query)
void
setVar(String var)
-
-
-
Field Detail
-
REQUEST_ARGUMENTS_PREFIX
public static final String REQUEST_ARGUMENTS_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
setQuery
public void setQuery(@NotNull String query)
-
setPath
public void setPath(@NotNull String path)
-
setVar
public void setVar(@NotNull String var)
-
setDynamicAttribute
public void setDynamicAttribute(String uri, String localName, Object value)
- Specified by:
setDynamicAttribute
in interfacejavax.servlet.jsp.tagext.DynamicAttributes
-
doTag
public void doTag() throws IOException
- Specified by:
doTag
in interfacejavax.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in classjavax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
IOException
-
-