Interface IMockServiceInterfaceRenderResponse
-
- All Superinterfaces:
IMockServiceInterfaceResponse
,IServiceInterfaceRenderResponse
,IServiceInterfaceResponse
,IURLFactory
,javax.portlet.MimeResponse
,javax.portlet.PortletResponse
,javax.portlet.RenderResponse
- All Known Implementing Classes:
MockServiceInterfaceRenderResponse
@StableMinor(version="14.2", sinceVersion="5.6") public interface IMockServiceInterfaceRenderResponse extends IMockServiceInterfaceResponse, IServiceInterfaceRenderResponse
Interface for aIServiceInterfaceRenderResponse
mock object.- Since:
- 5.6.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
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 String
getBeforeWriterOutput()
Returns the output written toIServiceInterfaceRenderResponse.getBeforeWriter()
.int
getStyleApplyRule()
Returns the style apply rule set by the call toIServiceInterfaceRenderResponse.applyStyle(int, String)
.String
getStyleFile()
Returns the file path set by the call toIServiceInterfaceRenderResponse.applyStyle(int, String)
.String
getStyleId()
Returns the styleId set by a call to theIServiceInterfaceRenderResponse.setStyleId(String)
method.String
getTitle()
Returns the title set byRenderResponse.setTitle(String)
.String
getWriterOutput()
Returns the output written toIServiceInterfaceRenderResponse.getWriter()
.void
setLocale(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.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
String getTitle()
Returns the title set byRenderResponse.setTitle(String)
.- Returns:
- the title.
- Since:
- 5.6.0
-
setLocale
void setLocale(Locale locale)
Sets the locale returned byMimeResponse.getLocale()
.- Parameters:
locale
- the locale.- Since:
- 5.6.0
-
getStyleId
String getStyleId()
Returns the styleId set by a call to theIServiceInterfaceRenderResponse.setStyleId(String)
method.- Returns:
- the style id.
- Since:
- 5.6.0
-
getStyleFile
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
String getBeforeWriterOutput() throws IOException
Returns the output written toIServiceInterfaceRenderResponse.getBeforeWriter()
.- Returns:
- the output as a string.
- Throws:
IOException
- if an error occur getting the writer.- Since:
- 5.6.0
-
getWriterOutput
String getWriterOutput() throws UnsupportedEncodingException
Returns the output written toIServiceInterfaceRenderResponse.getWriter()
.- Returns:
- the output as a string.
- Throws:
UnsupportedEncodingException
- Since:
- 5.6.0
-
-