org.mentawai.ajaxtag.responses
Class BaseAjaxtagResponse<E>

java.lang.Object
  extended by org.mentawai.ajaxtag.responses.BaseAjaxtagResponse<E>
Type Parameters:
E - the data type. Many be anything and must be parsed by the AjaxtagRender.
Direct Known Subclasses:
CalloutResponse, ErrorResponse, HTMLContentReplaceResponse, ListDataAjaxtagResponse, UpdateFieldResponse

public abstract class BaseAjaxtagResponse<E>
extends Object

Base class who holds the aschycronous response between the Action and the Consequence.

Since:
1.9
Author:
Marvin Froeder (m@rvin.info)

Field Summary
protected  javax.servlet.http.HttpServletRequest request
           
protected  javax.servlet.http.HttpServletResponse response
           
 
Constructor Summary
BaseAjaxtagResponse()
           
BaseAjaxtagResponse(E data)
           
 
Method Summary
abstract  AjaxtagConstraints getConstraints()
           
 E getData()
           
 String getName()
           
protected  javax.servlet.http.HttpServletResponseWrapper getWrapper()
           
 void setData(E data)
           
 void setRequest(javax.servlet.http.HttpServletRequest request)
           
 void setResponse(javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

request

protected javax.servlet.http.HttpServletRequest request

response

protected javax.servlet.http.HttpServletResponse response
Constructor Detail

BaseAjaxtagResponse

public BaseAjaxtagResponse()

BaseAjaxtagResponse

public BaseAjaxtagResponse(E data)
Method Detail

getConstraints

public abstract AjaxtagConstraints getConstraints()

getData

public E getData()
          throws Exception
Throws:
Exception

setData

public void setData(E data)

getName

public String getName()

setRequest

public void setRequest(javax.servlet.http.HttpServletRequest request)

setResponse

public void setResponse(javax.servlet.http.HttpServletResponse response)

getWrapper

protected javax.servlet.http.HttpServletResponseWrapper getWrapper()


Copyright © 2013. All Rights Reserved.