Class ServletEntry
java.lang.Object
fr.paris.lutece.portal.service.servlet.ServletEntry
Servlet Entry used to load servlet from the plugin XML file
- Since:
- v 3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParameter(String strName, String strValue) Add an init parameterReturns init parametersReturns the MappinggetName()Returns the NameReturns the servletvoidsetMappingUrlPattern(String strMapping) Sets the MappingvoidSets the NamevoidsetServletClass(String strServletClass) Sets the servlet.
-
Constructor Details
-
ServletEntry
public ServletEntry()
-
-
Method Details
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getServletClass
Returns the servlet- Returns:
- The servlet
-
setServletClass
Sets the servlet.- Parameters:
strServletClass- the new servlet class
-
getMappingUrlPattern
Returns the Mapping- Returns:
- The Mapping
-
setMappingUrlPattern
Sets the Mapping- Parameters:
strMapping- The Mapping
-
addParameter
Add an init parameter- Parameters:
strName- The parameter namestrValue- The parameter value
-
getInitParameters
Returns init parameters- Returns:
- Init parameters in a map object
-