net.officefloor.plugin.servlet.container
Interface HttpServletContainer

All Known Implementing Classes:
HttpServletContainerImpl

public interface HttpServletContainer

Container for a HttpServlet.

Author:
Daniel Sagenschneider

Method Summary
 void include(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Includes the servicing of contained HttpServlet on the inputs.
 void service(ServerHttpConnection connection, Map<String,Object> attributes, HttpSession session, HttpSecurity security, TaskContext<?,?,?> taskContext, ServicerMapping mapping)
          Services the HttpRequest of the ServerHttpConnection.
 

Method Detail

service

void service(ServerHttpConnection connection,
             Map<String,Object> attributes,
             HttpSession session,
             HttpSecurity security,
             TaskContext<?,?,?> taskContext,
             ServicerMapping mapping)
             throws javax.servlet.ServletException,
                    IOException
Services the HttpRequest of the ServerHttpConnection.

Parameters:
connection - ServerHttpConnection containing the HttpRequest to service.
attributes - Attributes in HttpRequest context.
session - HttpSession for the HttpRequest.
security - HttpSecurity. May be null if anonymous HttpRequest.
taskContext - TaskContext to allow access to OfficeFloor capabilities.
mapping - ServicerMapping that mapped the HttpRequest to the HttpServlet. May be null if not mapped.
Throws:
javax.servlet.ServletException - As per HttpServlet API.
IOException - As per HttpServlet API.

include

void include(javax.servlet.http.HttpServletRequest request,
             javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    IOException
Includes the servicing of contained HttpServlet on the inputs.

Parameters:
request - HttpServletRequest.
response - HttpServletResponse.
Throws:
javax.servlet.ServletException - As per HttpServlet API.
IOException - As per HttpServlet API.


Copyright © 2005-2012. All Rights Reserved.