Liferay 6.2-ce-ga5

com.liferay.portal.kernel.resiliency.spi.agent
Interface SPIAgent


public interface SPIAgent


Nested Class Summary
static class SPIAgent.Lifecycle
           
 
Method Summary
 void destroy()
           
 void init(SPI spi)
           
 javax.servlet.http.HttpServletRequest prepareRequest(javax.servlet.http.HttpServletRequest request)
           
 javax.servlet.http.HttpServletResponse prepareResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void transferResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Exception e)
           
 

Method Detail

destroy

void destroy()

init

void init(SPI spi)
          throws PortalResiliencyException
Throws:
PortalResiliencyException

prepareRequest

javax.servlet.http.HttpServletRequest prepareRequest(javax.servlet.http.HttpServletRequest request)
                                                     throws IOException
Throws:
IOException

prepareResponse

javax.servlet.http.HttpServletResponse prepareResponse(javax.servlet.http.HttpServletRequest request,
                                                       javax.servlet.http.HttpServletResponse response)

service

void service(javax.servlet.http.HttpServletRequest request,
             javax.servlet.http.HttpServletResponse response)
             throws PortalResiliencyException
Throws:
PortalResiliencyException

transferResponse

void transferResponse(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response,
                      Exception e)
                      throws IOException
Throws:
IOException

Liferay 6.2-ce-ga5