Novell exteNd
Director 5.2 API

com.sssw.fw.api
Interface EbiHttpResponse

All Superinterfaces:
EbiResponse

public interface EbiHttpResponse
extends EbiResponse

The EbiHttpResponse wraps a javax.servlet.http.HttpSevrletResponse

This interface allows a developer to retrieve the actual HttpServletResponse from an EbiResponse via casting. For example:

   EbiResponse res = ctxt.getEbiResponse();
   if (res instanceof EbiHttpResponse){
     HttpServletResponse res = ((EbiHttpResponse)res).getHttpServletResponse();
   }
 

Since:
v5.0

Fields inherited from interface com.sssw.fw.api.EbiResponse
CONTENT, HTML, R000, R100, R101, R200, R201, R202, R203, R204, R205, R206, R300, R301, R302, R303, R304, R305, R307, R400, R401, R402, R403, R404, R405, R406, R407, R408, R409, R410, R411, R412, R413, R414, R415, R416, R417, R500, R501, R502, R503, R504, R505, TEXT, URL
 
Method Summary
 HttpServletResponse getHttpServletResponse()
          Returns the underlying wrapped HttpServletResponse
 
Methods implemented from interface com.sssw.fw.api.EbiResponse
containsHeader, getContentType, getContext, getResponseType, getStatus, getType, getUpdateHttpServletResponse, hasHttpServletResponse, isResponseType, isStatus, sendRedirect, setContentType, setContext, setDateHeader, setHeader, setHttpServletResponse, setResponse, setResponsePhrase, setResponseType, setStatus, setUpdateHttpServletResponse
 

Method Detail

getHttpServletResponse

public HttpServletResponse getHttpServletResponse()
Returns the underlying wrapped HttpServletResponse
Specified by:
getHttpServletResponse in interface EbiResponse
Returns:
the HttpServletResponse wrapped by the object
Since:
v5.0

Novell exteNd
Director 5.2 API