net.officefloor.plugin.servlet.mapping
Interface ServicerMapper

All Known Implementing Classes:
ServicerMapperImpl

public interface ServicerMapper

Maps a HttpRequest to a HttpServletServicer.

Author:
Daniel Sagenschneider

Method Summary
 HttpServletServicer mapName(String name)
          Obtains the HttpServletServicer by its name.
 ServicerMapping mapPath(String path)
          Matches the best ServicerMapping for the path.
 

Method Detail

mapPath

ServicerMapping mapPath(String path)
Matches the best ServicerMapping for the path.

Parameters:
path - Path for mapping.
Returns:
Best ServicerMapping or null if no appropriate HttpServletServicer.

mapName

HttpServletServicer mapName(String name)
Obtains the HttpServletServicer by its name.

Parameters:
name - Name of the HttpServletServicer.
Returns:
HttpServletServicer or null if no HttpServletServicer by name.


Copyright © 2005-2011. All Rights Reserved.