public class ServiceInterfaceRenderResponseSPIWrapper extends Object implements IServiceInterfaceRenderResponseSPI
APPLY_STYLE_FROM_DEFINITION, APPLY_STYLE_NONE, APPLY_STYLE_ONLY_IF_NOT_DEFINED, APPLY_STYLE_OVERRIDE
CACHE_SCOPE, ETAG, EXPIRATION_CACHE, MARKUP_HEAD_ELEMENT, NAMESPACED_RESPONSE, PRIVATE_SCOPE, PUBLIC_SCOPE, USE_CACHED_CONTENT
public IServiceInterfaceRenderResponseSPI getResponse()
public void setResponse(IServiceInterfaceRenderResponseSPI response)
IServiceInterfaceRenderResponseSPI
- wrapped responsepublic void addCookie(Cookie cookie)
addCookie
in interface IServiceInterfaceResponse
public void addProperty(Cookie cookie)
addProperty
in interface PortletResponse
public void addProperty(String key, Element element)
addProperty
in interface PortletResponse
public void addProperty(String key, String value)
addProperty
in interface PortletResponse
public void applyStyle(int applyRule, String styleFile) throws ServiceException, PortalException
applyStyle
in interface IServiceInterfaceRenderResponse
ServiceException
PortalException
public IServiceInterfaceUrl createActionURL()
IURLFactory
createActionURL
in interface MimeResponse
createActionURL
in interface IServiceInterfaceRenderResponse
createActionURL
in interface IURLFactory
IServiceInterface.processAction(lumis.portal.serviceinterface.IServiceInterfaceActionRequest, lumis.portal.serviceinterface.IServiceInterfaceActionResponse)
public Element createElement(String tagName) throws DOMException
createElement
in interface PortletResponse
DOMException
public IServiceInterfaceUrl createPortalURL()
IURLFactory
The returned URL object will not have its destination specified, so it will refer to the portal home by default. Its methods may be used to specify the URL destination.
createPortalURL
in interface IURLFactory
IServiceInterfaceUrl.setPageId(String)
,
IServiceInterfaceUrl.setChannelId(String)
public IServiceInterfaceUrl createRenderURL()
IURLFactory
createRenderURL
in interface MimeResponse
createRenderURL
in interface IServiceInterfaceRenderResponse
createRenderURL
in interface IURLFactory
IServiceInterface.render(lumis.portal.serviceinterface.IServiceInterfaceRenderRequest, lumis.portal.serviceinterface.IServiceInterfaceRenderResponse)
public ResourceURL createResourceURL()
createResourceURL
in interface MimeResponse
public void deleteCookie(Cookie cookie)
deleteCookie
in interface IServiceInterfaceResponse
public String encodeURL(String path)
encodeURL
in interface PortletResponse
public void flushBuffer() throws IOException
flushBuffer
in interface MimeResponse
IOException
public PortalPrintWriter getBeforeWriter() throws IOException
getBeforeWriter
in interface IServiceInterfaceRenderResponse
IOException
public int getBufferSize()
getBufferSize
in interface MimeResponse
public CacheControl getCacheControl()
getCacheControl
in interface MimeResponse
public String getCharacterEncoding()
getCharacterEncoding
in interface MimeResponse
public String getContentType()
getContentType
in interface MimeResponse
public Locale getLocale()
getLocale
in interface MimeResponse
public String getNamespace()
getNamespace
in interface PortletResponse
public OutputStream getPortletOutputStream() throws IOException
getPortletOutputStream
in interface MimeResponse
IOException
public PrintWriter getWriter() throws IOException
getWriter
in interface MimeResponse
getWriter
in interface IServiceInterfaceRenderResponse
IOException
public boolean isCommited()
isCommited
in interface IServiceInterfaceRenderResponse
public boolean isCommitted()
isCommitted
in interface MimeResponse
public void reset()
reset
in interface MimeResponse
public void resetBuffer()
resetBuffer
in interface MimeResponse
public void setBufferSize(int size)
setBufferSize
in interface MimeResponse
public void setContentType(String type)
setContentType
in interface MimeResponse
setContentType
in interface RenderResponse
public void setNextPossiblePortletModes(Collection<PortletMode> portletModes)
setNextPossiblePortletModes
in interface RenderResponse
public void setProperty(String key, String value)
setProperty
in interface PortletResponse
public void setStyleId(String styleId) throws ServiceException, PortalException
setStyleId
in interface IServiceInterfaceRenderResponse
ServiceException
PortalException
public void setTitle(String title)
setTitle
in interface RenderResponse
public ServiceContainerHttpServletResponse getServiceContainerHttpServletResponse()
IServiceInterfaceRenderResponseSPI
ServiceContainerHttpServletResponse
.getServiceContainerHttpServletResponse
in interface IServiceInterfaceRenderResponseSPI
ServiceContainerHttpServletResponse
.public String getResponseString()
IServiceInterfaceRenderResponseSPI
getResponseString
in interface IServiceInterfaceRenderResponseSPI
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.