Interface IMockServiceInterfaceRenderResponse
-
- All Superinterfaces:
IMockServiceInterfaceResponse
,IServiceInterfaceRenderResponse
,IServiceInterfaceResponse
,IURLFactory
,MimeResponse
,PortletResponse
,RenderResponse
- All Known Implementing Classes:
MockServiceInterfaceRenderResponse
@StableMinor(version="14.0", sinceVersion="5.6") public interface IMockServiceInterfaceRenderResponse extends IMockServiceInterfaceResponse, IServiceInterfaceRenderResponse
Interface for aIServiceInterfaceRenderResponse
mock object.- Since:
- 5.6.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
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
-
Fields inherited from interface javax.portlet.MimeResponse
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT
-
-
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
-
Methods inherited from interface javax.portlet.PortletResponse
addProperty, addProperty, addProperty, createElement, encodeURL, getNamespace, setProperty
-
Methods inherited from interface javax.portlet.RenderResponse
setContentType, setNextPossiblePortletModes, setTitle
-
-
-
-
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
-
-