gboat2.base.plugin.struts.convention
类 GboatConventionUnknownHandler

java.lang.Object
  继承者 org.apache.struts2.convention.ConventionUnknownHandler
      继承者 gboat2.base.plugin.struts.convention.GboatConventionUnknownHandler
所有已实现的接口:
com.opensymphony.xwork2.UnknownHandler

public class GboatConventionUnknownHandler
extends org.apache.struts2.convention.ConventionUnknownHandler

扩展 Struts2 内置的 ConventionUnknownHandler,使其支持 osgi 环境下 Action 类的加载

从以下版本开始:
1.0
作者:
lysming

嵌套类摘要
 
从类 org.apache.struts2.convention.ConventionUnknownHandler 继承的嵌套类/接口
org.apache.struts2.convention.ConventionUnknownHandler.Resource
 
字段摘要
 
从类 org.apache.struts2.convention.ConventionUnknownHandler 继承的字段
configuration, defaultParentPackageName, objectFactory, parentPackage, resultMapBuilder, servletContext
 
构造方法摘要
GboatConventionUnknownHandler(com.opensymphony.xwork2.config.Configuration configuration, com.opensymphony.xwork2.ObjectFactory objectFactory, javax.servlet.ServletContext servletContext, com.opensymphony.xwork2.inject.Container container, String defaultParentPackageName, String redirectToSlash, String nameSeparator)
           
 
方法摘要
protected  com.opensymphony.xwork2.Result buildResult(String path, String resultCode, com.opensymphony.xwork2.config.entities.ResultTypeConfig config, com.opensymphony.xwork2.ActionContext invocationContext)
           
protected  org.apache.struts2.convention.ConventionUnknownHandler.Resource findResource(Map<String,com.opensymphony.xwork2.config.entities.ResultTypeConfig> resultsByExtension, String... parts)
           
protected  com.opensymphony.xwork2.Result findResult(String path, String resultCode, String ext, com.opensymphony.xwork2.ActionContext actionContext, Map<String,com.opensymphony.xwork2.config.entities.ResultTypeConfig> resultsByExtension)
           
 com.opensymphony.xwork2.Result handleUnknownResult(com.opensymphony.xwork2.ActionContext actionContext, String actionName, com.opensymphony.xwork2.config.entities.ActionConfig actionConfig, String resultCode)
           
 
从类 org.apache.struts2.convention.ConventionUnknownHandler 继承的方法
buildActionConfig, canonicalize, determinePath, handleUnknownAction, handleUnknownActionMethod, string
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

GboatConventionUnknownHandler

public GboatConventionUnknownHandler(com.opensymphony.xwork2.config.Configuration configuration,
                                     com.opensymphony.xwork2.ObjectFactory objectFactory,
                                     javax.servlet.ServletContext servletContext,
                                     com.opensymphony.xwork2.inject.Container container,
                                     String defaultParentPackageName,
                                     String redirectToSlash,
                                     String nameSeparator)
方法详细信息

handleUnknownResult

public com.opensymphony.xwork2.Result handleUnknownResult(com.opensymphony.xwork2.ActionContext actionContext,
                                                          String actionName,
                                                          com.opensymphony.xwork2.config.entities.ActionConfig actionConfig,
                                                          String resultCode)
指定者:
接口 com.opensymphony.xwork2.UnknownHandler 中的 handleUnknownResult
覆盖:
org.apache.struts2.convention.ConventionUnknownHandler 中的 handleUnknownResult

findResource

protected org.apache.struts2.convention.ConventionUnknownHandler.Resource findResource(Map<String,com.opensymphony.xwork2.config.entities.ResultTypeConfig> resultsByExtension,
                                                                                       String... parts)
覆盖:
org.apache.struts2.convention.ConventionUnknownHandler 中的 findResource

findResult

protected com.opensymphony.xwork2.Result findResult(String path,
                                                    String resultCode,
                                                    String ext,
                                                    com.opensymphony.xwork2.ActionContext actionContext,
                                                    Map<String,com.opensymphony.xwork2.config.entities.ResultTypeConfig> resultsByExtension)
覆盖:
org.apache.struts2.convention.ConventionUnknownHandler 中的 findResult

buildResult

protected com.opensymphony.xwork2.Result buildResult(String path,
                                                     String resultCode,
                                                     com.opensymphony.xwork2.config.entities.ResultTypeConfig config,
                                                     com.opensymphony.xwork2.ActionContext invocationContext)
覆盖:
org.apache.struts2.convention.ConventionUnknownHandler 中的 buildResult


Copyright © 2014 广联达软件股份有限公司(Glodon Software Co., Ltd.). All rights reserved.