Class ServletEntry
- java.lang.Object
-
- fr.paris.lutece.portal.service.servlet.ServletEntry
-
public class ServletEntry extends Object
Servlet Entry used to load servlet from the plugin XML file- Since:
- v 3.0
-
-
Constructor Summary
Constructors Constructor Description ServletEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddParameter(String strName, String strValue)Add an init parameterMap<String,String>getInitParameters()Returns init parametersStringgetMappingUrlPattern()Returns the MappingStringgetName()Returns the NameStringgetServletClass()Returns the servletvoidsetMappingUrlPattern(String strMapping)Sets the MappingvoidsetName(String strName)Sets the NamevoidsetServletClass(String strServletClass)Sets the servlet.
-
-
-
Method Detail
-
getName
public String getName()
Returns the Name- Returns:
- The Name
-
setName
public void setName(String strName)
Sets the Name- Parameters:
strName- The Name
-
getServletClass
public String getServletClass()
Returns the servlet- Returns:
- The servlet
-
setServletClass
public void setServletClass(String strServletClass)
Sets the servlet.- Parameters:
strServletClass- the new servlet class
-
getMappingUrlPattern
public String getMappingUrlPattern()
Returns the Mapping- Returns:
- The Mapping
-
setMappingUrlPattern
public void setMappingUrlPattern(String strMapping)
Sets the Mapping- Parameters:
strMapping- The Mapping
-
addParameter
public void addParameter(String strName, String strValue)
Add an init parameter- Parameters:
strName- The parameter namestrValue- The parameter value
-
-