Package org.nuxeo.runtime.server
Class ServletDescriptor
- java.lang.Object
-
- org.nuxeo.runtime.server.ServletDescriptor
-
public class ServletDescriptor extends Object
Descriptor for a servlet. For convenience, we follow the official syntax of web.xml.
-
-
Field Summary
Fields Modifier and Type Field Description protected Class<?>
clazz
protected String
context
protected String
displayName
protected Map<String,String>
initParams
protected String
name
protected List<String>
urlPatterns
-
Constructor Summary
Constructors Constructor Description ServletDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getClazz()
String
getContext()
String
getDisplayName()
Map<String,String>
getInitParams()
String
getName()
List<String>
getUrlPatterns()
void
setClass(Class<?> clazz)
void
setDisplayName(String displayName)
void
setInitParams(List<InitParamDescriptor> descriptors)
void
setInitParams(Map<String,String> initParams)
void
setName(String name)
void
setUrlPattern(String urlPattern)
-
-
-
Field Detail
-
urlPatterns
protected List<String> urlPatterns
- Since:
- 10.2
-
initParams
protected Map<String,String> initParams
-
displayName
protected String displayName
- Since:
- 10.2
-
-
Constructor Detail
-
ServletDescriptor
public ServletDescriptor()
-
-
Method Detail
-
setUrlPattern
public void setUrlPattern(String urlPattern)
-
setInitParams
public void setInitParams(List<InitParamDescriptor> descriptors)
-
setInitParams
public void setInitParams(Map<String,String> initParams)
-
setDisplayName
public void setDisplayName(String displayName)
-
getContext
public String getContext()
-
getUrlPatterns
public List<String> getUrlPatterns()
-
getInitParams
public Map<String,String> getInitParams()
-
getDisplayName
public String getDisplayName()
-
-