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)
-
-
-
Method Detail
-
setName
public void setName(String name)
-
setClass
public void setClass(Class<?> clazz)
-
setUrlPattern
public void setUrlPattern(String urlPattern)
-
setInitParams
public void setInitParams(List<InitParamDescriptor> descriptors)
-
setDisplayName
public void setDisplayName(String displayName)
-
getContext
public String getContext()
-
getName
public String getName()
-
getClazz
public Class<?> getClazz()
-
getDisplayName
public String getDisplayName()
-
-