net.officefloor.plugin.servlet.mapping
Interface ServicerMapping

All Known Implementing Classes:
ServicerMappingImpl

public interface ServicerMapping

Mapping to a HttpServletServicer.

Interface follows the Servlet specification.

Author:
Daniel Sagenschneider

Method Summary
 String getParameter(String name)
          Obtains the parameter value as per the query string.
 Map<String,String[]> getParameterMap()
          Obtains the parameter map.
 Enumeration<String> getParameterNames()
          Obtains the names of the parameters.
 String[] getParameterValues(String name)
          Obtains the values for the parameter name.
 String getPathInfo()
          Obtains the remaining of the path after the HttpServletServicer path.
 String getQueryString()
          Query string after the path.
 HttpServletServicer getServicer()
          Mapped HttpServletServicer.
 String getServletPath()
          Obtains the path segment that mapped to the HttpServletServicer.
 

Method Detail

getServicer

HttpServletServicer getServicer()
Mapped HttpServletServicer.

Returns:
Mapped HttpServletServicer.

getServletPath

String getServletPath()
Obtains the path segment that mapped to the HttpServletServicer.

Returns:
HttpServlet path.
See Also:
HttpServletRequest.getServletPath()

getPathInfo

String getPathInfo()
Obtains the remaining of the path after the HttpServletServicer path.

Returns:
Remaining path or null if exact mapping.
See Also:
HttpServletRequest.getPathInfo()

getQueryString

String getQueryString()
Query string after the path.

Returns:
Query string after the path or null if no query string.

getParameter

String getParameter(String name)
Obtains the parameter value as per the query string.

Parameters:
name - Name of parameter.
Returns:
Value for the parameter or null if parameter not on query string.

getParameterNames

Enumeration<String> getParameterNames()
Obtains the names of the parameters.

Returns:
Names of the parameters.

getParameterValues

String[] getParameterValues(String name)
Obtains the values for the parameter name.

Parameters:
name - Name of the parameter.
Returns:
Values for the parameter.

getParameterMap

Map<String,String[]> getParameterMap()
Obtains the parameter map.

Returns:
Parameter map.


Copyright © 2005-2012. All Rights Reserved.