net.officefloor.plugin.servlet.bridge.spi
Interface ServletServiceBridger<S>


public interface ServletServiceBridger<S>

Servicer for bridging the servicing of the HttpServletRequest within the Servlet container by an OfficeFloor.

Author:
Daniel Sagenschneider

Method Summary
 String getInstanceIdentifier()
          Obtains the instance identifier for this ServletServiceBridger.
 Class<?>[] getObjectTypes()
          Obtains the object types for the Servlet.
 void service(S servlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context)
          Services the Servlet.
 

Method Detail

getInstanceIdentifier

String getInstanceIdentifier()
Obtains the instance identifier for this ServletServiceBridger.

Returns:
Instance identifier for this ServletServiceBridger.

getObjectTypes

Class<?>[] getObjectTypes()
Obtains the object types for the Servlet.

Returns:
Object types for the Servlet.

service

void service(S servlet,
             javax.servlet.http.HttpServletRequest request,
             javax.servlet.http.HttpServletResponse response,
             javax.servlet.ServletContext context)
             throws IOException,
                    javax.servlet.ServletException
Services the Servlet.

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


Copyright © 2005-2012. All Rights Reserved.