fr.paris.lutece.portal.service.servlet
Class ServletEntry

java.lang.Object
  extended by 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
ServletEntry()
           
 
Method Summary
 void addParameter(String strName, String strValue)
          Add an init parameter
 Map<String,String> getInitParameters()
          Returns init parameters
 String getMappingUrlPattern()
          Returns the Mapping
 String getName()
          Returns the Name
 String getServletClass()
          Returns the servlet
 void setMappingUrlPattern(String strMapping)
          Sets the Mapping
 void setName(String strName)
          Sets the Name
 void setServletClass(String strServletClass)
          Sets the servlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletEntry

public ServletEntry()
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 name
strValue - The parameter value

getInitParameters

public Map<String,String> getInitParameters()
Returns init parameters

Returns:
Init parameters in a map object


Copyright © 2014 Mairie de Paris. All Rights Reserved.