org.apache.wicket.protocol.http.WebApplication.newRequestCycle()方法的使用及代码示例

x33g5p2x  于2022-02-02 转载在 其他  
字(1.9k)|赞(0)|评价(0)|浏览(91)

本文整理了Java中org.apache.wicket.protocol.http.WebApplication.newRequestCycle()方法的一些代码示例,展示了WebApplication.newRequestCycle()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebApplication.newRequestCycle()方法的具体详情如下:
包路径:org.apache.wicket.protocol.http.WebApplication
类名称:WebApplication
方法名:newRequestCycle

WebApplication.newRequestCycle介绍

暂无

代码示例

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Create and process the request cycle using the current request and response information.
 * 
 * @return A new and initialized WebRequestCyle
 */
public WebRequestCycle createRequestCycle()
{
  // Create a web request cycle using factory
  final WebRequestCycle cycle = (WebRequestCycle)application.newRequestCycle(wicketRequest,
    wicketResponse);
  // Construct session
  wicketSession = (WebSession)Session.findOrCreate();
  // Set request cycle so it won't detach automatically and clear messages
  // we want to check
  cycle.setAutomaticallyClearFeedbackMessages(false);
  return cycle;
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Create and process the request cycle using the current request and response information.
 * 
 * @return A new and initialized WebRequestCyle
 */
public WebRequestCycle createRequestCycle()
{
  // Create a web request cycle using factory
  final WebRequestCycle cycle = (WebRequestCycle)application.newRequestCycle(wicketRequest,
    wicketResponse);
  // Construct session
  wicketSession = (WebSession)Session.findOrCreate();
  // Set request cycle so it won't detach automatically and clear messages
  // we want to check
  cycle.setAutomaticallyClearFeedbackMessages(false);
  return cycle;
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

final RequestCycle cycle = webApplication.newRequestCycle(request, response);

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

final RequestCycle cycle = webApplication.newRequestCycle(request, response);

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

requestCycle = (WebRequestCycle)webApplication.newRequestCycle(request,
  response);

相关文章

微信公众号

最新文章

更多

WebApplication类方法