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)
          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)
             throws IOException,
                    javax.servlet.ServletException
Services the Servlet.

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


Copyright © 2005-2011. All Rights Reserved.