类 ServletRegistrationWebEndpointMappingFactory
- java.lang.Object
-
- io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory<java.lang.String>
-
- io.microsphere.spring.web.metadata.RegistrationWebEndpointMappingFactory<javax.servlet.ServletRegistration>
-
- io.microsphere.spring.web.metadata.ServletRegistrationWebEndpointMappingFactory
-
- 所有已实现的接口:
WebEndpointMappingFactory<java.lang.String>
public class ServletRegistrationWebEndpointMappingFactory extends RegistrationWebEndpointMappingFactory<javax.servlet.ServletRegistration>
WebEndpointMappingFactory
fromServletRegistration
- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
ServletContext.getServletRegistrations()
,ServletRegistration
-
-
字段概要
-
从类继承的字段 io.microsphere.spring.web.metadata.RegistrationWebEndpointMappingFactory
servletContext
-
-
构造器概要
构造器 构造器 说明 ServletRegistrationWebEndpointMappingFactory(javax.servlet.ServletContext servletContext)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected java.util.Collection<java.lang.String>
getPatterns(javax.servlet.ServletRegistration registration)
Get the patterns ofRegistration
protected javax.servlet.ServletRegistration
getRegistration(java.lang.String name, javax.servlet.ServletContext servletContext)
-
从类继承的方法 io.microsphere.spring.web.metadata.RegistrationWebEndpointMappingFactory
contribute, doCreate, supports
-
从类继承的方法 io.microsphere.spring.web.metadata.AbstractWebEndpointMappingFactory
create
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 io.microsphere.spring.web.metadata.WebEndpointMappingFactory
getSourceType
-
-
-
-
方法详细资料
-
getRegistration
protected javax.servlet.ServletRegistration getRegistration(java.lang.String name, javax.servlet.ServletContext servletContext)
- 指定者:
getRegistration
在类中RegistrationWebEndpointMappingFactory<javax.servlet.ServletRegistration>
- 参数:
name
- the name ofRegistration
servletContext
-ServletContext
- 返回:
- The
Registration
-
getPatterns
protected java.util.Collection<java.lang.String> getPatterns(javax.servlet.ServletRegistration registration)
Get the patterns ofRegistration
- 指定者:
getPatterns
在类中RegistrationWebEndpointMappingFactory<javax.servlet.ServletRegistration>
- 参数:
registration
-Registration
- 返回:
- non-null
-
-