com.go.teaservlet
Interface TeaServletTransaction


public interface TeaServletTransaction

An interface that pairs an application request and response. With these, any servlet may directly invoke templates and applications.

Version:
2 , 01/07/13
Author:
Brian S O'Neill
See Also:
TeaServletEngine

Method Summary
 ApplicationRequest getRequest()
           
 ApplicationResponse getResponse()
          In order to write out the buffered TeaServlet response, the finish method must be called.
 

Method Detail

getRequest

public ApplicationRequest getRequest()

getResponse

public ApplicationResponse getResponse()
In order to write out the buffered TeaServlet response, the finish method must be called. It will request an OutputStream from the original ServletResponse. An IllegalArgumentException will be thrown if a Writer was already used for writing to the response.