Package lumis.collaboration.chat
Class ChatServiceInterfaceResponse
- java.lang.Object
-
- lumis.collaboration.chat.ChatServiceInterfaceResponse
-
- All Implemented Interfaces:
MimeResponse
,PortletResponse
,RenderResponse
,IServiceInterfaceRenderResponse
,IServiceInterfaceRenderResponseSPI
,IServiceInterfaceResponse
,IURLFactory
public class ChatServiceInterfaceResponse extends Object implements IServiceInterfaceRenderResponseSPI
Chat service interface forChatControllerXml
.- Since:
- 8.1.0
- Version:
- $Revision: 17592 $ $Date: 2015-07-17 11:19:32 -0300 (Fri, 17 Jul 2015) $
-
-
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
-
-
Constructor Summary
Constructors Constructor Description ChatServiceInterfaceResponse()
-
Method Summary
-
-
-
Method Detail
-
getWriter
public PrintWriter getWriter() throws IOException
- Specified by:
getWriter
in interfaceIServiceInterfaceRenderResponse
- Specified by:
getWriter
in interfaceMimeResponse
- Throws:
IOException
-
getBeforeWriter
public PortalPrintWriter getBeforeWriter() throws IOException
- Specified by:
getBeforeWriter
in interfaceIServiceInterfaceRenderResponse
- Throws:
IOException
-
isCommited
public boolean isCommited()
- Specified by:
isCommited
in interfaceIServiceInterfaceRenderResponse
-
applyStyle
public void applyStyle(int applyRule, String styleFile) throws ServiceException, PortalException
- Specified by:
applyStyle
in interfaceIServiceInterfaceRenderResponse
- Throws:
ServiceException
PortalException
-
setStyleId
public void setStyleId(String styleId) throws ServiceException, PortalException
- Specified by:
setStyleId
in interfaceIServiceInterfaceRenderResponse
- Throws:
ServiceException
PortalException
-
createActionURL
public IServiceInterfaceUrl createActionURL()
Description copied from interface:IURLFactory
Creates an action URL.- Specified by:
createActionURL
in interfaceIServiceInterfaceRenderResponse
- Specified by:
createActionURL
in interfaceIURLFactory
- Specified by:
createActionURL
in interfaceMimeResponse
- Returns:
- the URL object.
- See Also:
IServiceInterface.processAction(lumis.portal.serviceinterface.IServiceInterfaceActionRequest, lumis.portal.serviceinterface.IServiceInterfaceActionResponse)
-
createRenderURL
public IServiceInterfaceUrl createRenderURL()
Description copied from interface:IURLFactory
Creates a render URL.- Specified by:
createRenderURL
in interfaceIServiceInterfaceRenderResponse
- Specified by:
createRenderURL
in interfaceIURLFactory
- Specified by:
createRenderURL
in interfaceMimeResponse
- Returns:
- the URL object.
- See Also:
IServiceInterface.render(lumis.portal.serviceinterface.IServiceInterfaceRenderRequest, lumis.portal.serviceinterface.IServiceInterfaceRenderResponse)
-
addCookie
public void addCookie(Cookie cookie)
- Specified by:
addCookie
in interfaceIServiceInterfaceResponse
-
deleteCookie
public void deleteCookie(Cookie cookie)
- Specified by:
deleteCookie
in interfaceIServiceInterfaceResponse
-
addProperty
public void addProperty(Cookie cookie)
- Specified by:
addProperty
in interfacePortletResponse
-
addProperty
public void addProperty(String key, String value)
- Specified by:
addProperty
in interfacePortletResponse
-
addProperty
public void addProperty(String key, Element element)
- Specified by:
addProperty
in interfacePortletResponse
-
createElement
public Element createElement(String tagName) throws DOMException
- Specified by:
createElement
in interfacePortletResponse
- Throws:
DOMException
-
encodeURL
public String encodeURL(String path)
- Specified by:
encodeURL
in interfacePortletResponse
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfacePortletResponse
-
setProperty
public void setProperty(String key, String value)
- Specified by:
setProperty
in interfacePortletResponse
-
createPortalURL
public IServiceInterfaceUrl createPortalURL()
Description copied from interface:IURLFactory
Creates a URL for accessing a portal page.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.
- Specified by:
createPortalURL
in interfaceIURLFactory
- Returns:
- the URL object.
- See Also:
IServiceInterfaceUrl.setPageId(String)
,IServiceInterfaceUrl.setChannelId(String)
-
setContentType
public void setContentType(String type)
- Specified by:
setContentType
in interfaceMimeResponse
- Specified by:
setContentType
in interfaceRenderResponse
-
setNextPossiblePortletModes
public void setNextPossiblePortletModes(Collection<PortletMode> portletModes)
- Specified by:
setNextPossiblePortletModes
in interfaceRenderResponse
-
setTitle
public void setTitle(String title)
- Specified by:
setTitle
in interfaceRenderResponse
-
createResourceURL
public ResourceURL createResourceURL()
- Specified by:
createResourceURL
in interfaceMimeResponse
-
flushBuffer
public void flushBuffer() throws IOException
- Specified by:
flushBuffer
in interfaceMimeResponse
- Throws:
IOException
-
getBufferSize
public int getBufferSize()
- Specified by:
getBufferSize
in interfaceMimeResponse
-
getCacheControl
public CacheControl getCacheControl()
- Specified by:
getCacheControl
in interfaceMimeResponse
-
getCharacterEncoding
public String getCharacterEncoding()
- Specified by:
getCharacterEncoding
in interfaceMimeResponse
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceMimeResponse
-
getLocale
public Locale getLocale()
- Specified by:
getLocale
in interfaceMimeResponse
-
getPortletOutputStream
public OutputStream getPortletOutputStream() throws IOException
- Specified by:
getPortletOutputStream
in interfaceMimeResponse
- Throws:
IOException
-
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted
in interfaceMimeResponse
-
reset
public void reset()
- Specified by:
reset
in interfaceMimeResponse
-
resetBuffer
public void resetBuffer()
- Specified by:
resetBuffer
in interfaceMimeResponse
-
setBufferSize
public void setBufferSize(int size)
- Specified by:
setBufferSize
in interfaceMimeResponse
-
getServiceContainerHttpServletResponse
public ServiceContainerHttpServletResponse getServiceContainerHttpServletResponse()
Description copied from interface:IServiceInterfaceRenderResponseSPI
Returns theServiceContainerHttpServletResponse
.- Specified by:
getServiceContainerHttpServletResponse
in interfaceIServiceInterfaceRenderResponseSPI
- Returns:
- the
ServiceContainerHttpServletResponse
.
-
getResponseString
public String getResponseString()
Description copied from interface:IServiceInterfaceRenderResponseSPI
Returns this response's output string.- Specified by:
getResponseString
in interfaceIServiceInterfaceRenderResponseSPI
- Returns:
- this response's output string.
-
-