Interface IMockServiceInterfaceRenderResponse
-
- All Superinterfaces:
IMockServiceInterfaceResponse
,IServiceInterfaceRenderResponse
,IServiceInterfaceResponse
,IServiceInterfaceResponseSPI
,IURLFactory
,javax.portlet.MimeResponse
,javax.portlet.PortletResponse
,javax.portlet.RenderResponse
- All Known Implementing Classes:
MockServiceInterfaceRenderResponse
@StableMinor(version="17.0", sinceVersion="5.6") public interface IMockServiceInterfaceRenderResponse extends IMockServiceInterfaceResponse, IServiceInterfaceRenderResponse
Interface for aIServiceInterfaceRenderResponse
mock object.- Since:
- 5.6.0
- Version:
- $Revision$ $Date$
-
-
Field Summary
-
Fields inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRenderResponse
APPLY_STYLE_FROM_DEFINITION, APPLY_STYLE_NONE, APPLY_STYLE_ONLY_IF_NOT_DEFINED, APPLY_STYLE_OVERRIDE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getBeforeWriterOutput()
Returns the output written toIServiceInterfaceRenderResponse.getBeforeWriter()
.int
getStyleApplyRule()
Returns the style apply rule set by the call toIServiceInterfaceRenderResponse.applyStyle(int, String)
.java.lang.String
getStyleFile()
Returns the file path set by the call toIServiceInterfaceRenderResponse.applyStyle(int, String)
.java.lang.String
getStyleId()
Returns the styleId set by a call to theIServiceInterfaceRenderResponse.setStyleId(String)
method.java.lang.String
getTitle()
Returns the title set byRenderResponse.setTitle(String)
.java.lang.String
getWriterOutput()
Returns the output written toIServiceInterfaceRenderResponse.getWriter()
.void
setLocale(java.util.Locale locale)
Sets the locale returned byMimeResponse.getLocale()
.-
Methods inherited from interface lumis.lptf.portal.serviceinterface.IMockServiceInterfaceResponse
getCookieMap, setNamespace
-
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceRenderResponse
applyStyle, createActionURL, createRenderURL, getBeforeWriter, getWriter, isCommited, setStyleId
-
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceResponse
addCookie, deleteCookie
-
Methods inherited from interface lumis.portal.serviceinterface.IServiceInterfaceResponseSPI
getServiceContainerHttpServletResponse
-
Methods inherited from interface lumis.portal.url.IURLFactory
createPortalURL
-
Methods inherited from interface javax.portlet.MimeResponse
createResourceURL, flushBuffer, getBufferSize, getCacheControl, getCharacterEncoding, getContentType, getLocale, getPortletOutputStream, isCommitted, reset, resetBuffer, setBufferSize
-
-
-
-
Method Detail
-
getTitle
java.lang.String getTitle()
Returns the title set byRenderResponse.setTitle(String)
.- Returns:
- the title.
- Since:
- 5.6.0
-
setLocale
void setLocale(java.util.Locale locale)
Sets the locale returned byMimeResponse.getLocale()
.- Parameters:
locale
- the locale.- Since:
- 5.6.0
-
getStyleId
java.lang.String getStyleId()
Returns the styleId set by a call to theIServiceInterfaceRenderResponse.setStyleId(String)
method.- Returns:
- the style id.
- Since:
- 5.6.0
-
getStyleFile
java.lang.String getStyleFile()
Returns the file path set by the call toIServiceInterfaceRenderResponse.applyStyle(int, String)
.- Returns:
- the style file path set.
- Since:
- 5.6.0
-
getStyleApplyRule
int getStyleApplyRule()
Returns the style apply rule set by the call toIServiceInterfaceRenderResponse.applyStyle(int, String)
. See the APPLY_* constants for possible values.- Returns:
- the style apply rule.
- Since:
- 5.6.0
-
getBeforeWriterOutput
java.lang.String getBeforeWriterOutput() throws java.io.IOException
Returns the output written toIServiceInterfaceRenderResponse.getBeforeWriter()
.- Returns:
- the output as a string.
- Throws:
java.io.IOException
- if an error occur getting the writer.- Since:
- 5.6.0
-
getWriterOutput
java.lang.String getWriterOutput() throws java.io.UnsupportedEncodingException
Returns the output written toIServiceInterfaceRenderResponse.getWriter()
.- Returns:
- the output as a string.
- Throws:
java.io.UnsupportedEncodingException
- Since:
- 5.6.0
-
-