本文整理汇总了Java中com.atlassian.jira.web.action.JiraWebActionSupport类的典型用法代码示例。如果您正苦于以下问题:Java JiraWebActionSupport类的具体用法?Java JiraWebActionSupport怎么用?Java JiraWebActionSupport使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
JiraWebActionSupport类属于com.atlassian.jira.web.action包,在下文中一共展示了JiraWebActionSupport类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: getRedirect
import com.atlassian.jira.web.action.JiraWebActionSupport; //导入依赖的package包/类
public static String getRedirect(JiraWebActionSupport action, String url, boolean unsafe)
{
if ( SAFE_REDIRECT_EXISTS )
{
return action.getRedirect(url, unsafe);
} else
{
return action.getRedirect(url);
}
}
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:11,代码来源:SystemUtils.java
示例2: redirectTo
import com.atlassian.jira.web.action.JiraWebActionSupport; //导入依赖的package包/类
/**
* Redirect to another page
*
* @param nextUrl where the user goes
*/
public static void redirectTo(String nextUrl) {
JiraWebActionSupport redirect = new JiraWebActionSupport();
String contextPath = redirect.getHttpRequest().getContextPath();
if (contextPath != null) {
nextUrl = contextPath + nextUrl;
}
try {
redirect.getHttpResponse().sendRedirect(nextUrl);
} catch (IOException | IllegalStateException ignored) {
}
}
开发者ID:ElevenPaths,项目名称:latch-plugin-jira,代码行数:17,代码来源:Utilities.java
示例3: redirectToLogin
import com.atlassian.jira.web.action.JiraWebActionSupport; //导入依赖的package包/类
public static void redirectToLogin() {
JiraWebActionSupport redirect = new JiraWebActionSupport();
String contextPath = redirect.getHttpRequest().getContextPath();
try {
redirect.getHttpResponse().sendRedirect(contextPath);
} catch (IOException | IllegalStateException ignored) {
}
}
开发者ID:ElevenPaths,项目名称:latch-plugin-jira,代码行数:9,代码来源:Utilities.java
示例4: getRedirectExists
import com.atlassian.jira.web.action.JiraWebActionSupport; //导入依赖的package包/类
private static boolean getRedirectExists()
{
// Detect whether getRedirect(String, boolean) is present
return getMethodExists(JiraWebActionSupport.class, "getRedirect", String.class, boolean.class);
}
开发者ID:edgehosting,项目名称:jira-dvcs-connector,代码行数:6,代码来源:SystemUtils.java
示例5: getHtml
import com.atlassian.jira.web.action.JiraWebActionSupport; //导入依赖的package包/类
public String getHtml(final JiraWebActionSupport webAction) {
Map<String, Object> params = UtilMisc.toMap("webAction", webAction, "action", this);
return descriptor.getHtml("view", params);
}
开发者ID:astralbat,项目名称:gitcommitviewer,代码行数:5,代码来源:GitProjectCommitAction.java
注:本文中的com.atlassian.jira.web.action.JiraWebActionSupport类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论