Class MockServiceInterfaceRenderResponse

    • Field Detail

      • mockServiceInterfaceRequest

        protected final lumis.lptf.portal.serviceinterface.MockServiceInterfaceRequest mockServiceInterfaceRequest
    • Method Detail

      • createResourceURL

        public javax.portlet.ResourceURL createResourceURL()
        Specified by:
        createResourceURL in interface javax.portlet.MimeResponse
      • flushBuffer

        public void flushBuffer()
        Specified by:
        flushBuffer in interface javax.portlet.MimeResponse
        Specified by:
        flushBuffer in interface javax.servlet.ServletResponse
        Overrides:
        flushBuffer in class org.springframework.mock.web.MockHttpServletResponse
      • getBufferSize

        public int getBufferSize()
        Specified by:
        getBufferSize in interface javax.portlet.MimeResponse
        Specified by:
        getBufferSize in interface javax.servlet.ServletResponse
        Overrides:
        getBufferSize in class org.springframework.mock.web.MockHttpServletResponse
      • getCacheControl

        public javax.portlet.CacheControl getCacheControl()
        Specified by:
        getCacheControl in interface javax.portlet.MimeResponse
      • getCharacterEncoding

        public java.lang.String getCharacterEncoding()
        Specified by:
        getCharacterEncoding in interface javax.portlet.MimeResponse
        Specified by:
        getCharacterEncoding in interface javax.servlet.ServletResponse
        Overrides:
        getCharacterEncoding in class org.springframework.mock.web.MockHttpServletResponse
      • getContentType

        public java.lang.String getContentType()
        Specified by:
        getContentType in interface javax.portlet.MimeResponse
        Specified by:
        getContentType in interface javax.servlet.ServletResponse
        Overrides:
        getContentType in class org.springframework.mock.web.MockHttpServletResponse
      • getLocale

        public java.util.Locale getLocale()
        Specified by:
        getLocale in interface javax.portlet.MimeResponse
        Specified by:
        getLocale in interface javax.servlet.ServletResponse
        Overrides:
        getLocale in class org.springframework.mock.web.MockHttpServletResponse
      • getPortletOutputStream

        public java.io.OutputStream getPortletOutputStream()
                                                    throws java.io.IOException
        Specified by:
        getPortletOutputStream in interface javax.portlet.MimeResponse
        Throws:
        java.io.IOException
      • getWriter

        public PortalPrintWriter getWriter()
                                    throws java.io.UnsupportedEncodingException
        Specified by:
        getWriter in interface IServiceInterfaceRenderResponse
        Specified by:
        getWriter in interface javax.portlet.MimeResponse
        Specified by:
        getWriter in interface javax.servlet.ServletResponse
        Overrides:
        getWriter in class org.springframework.mock.web.MockHttpServletResponse
        Throws:
        java.io.UnsupportedEncodingException
      • isCommitted

        public boolean isCommitted()
        Specified by:
        isCommitted in interface javax.portlet.MimeResponse
        Specified by:
        isCommitted in interface javax.servlet.ServletResponse
        Overrides:
        isCommitted in class org.springframework.mock.web.MockHttpServletResponse
      • reset

        public void reset()
        Specified by:
        reset in interface javax.portlet.MimeResponse
        Specified by:
        reset in interface javax.servlet.ServletResponse
        Overrides:
        reset in class org.springframework.mock.web.MockHttpServletResponse
      • resetBuffer

        public void resetBuffer()
        Specified by:
        resetBuffer in interface javax.portlet.MimeResponse
        Specified by:
        resetBuffer in interface javax.servlet.ServletResponse
        Overrides:
        resetBuffer in class org.springframework.mock.web.MockHttpServletResponse
      • setBufferSize

        public void setBufferSize​(int bufferSize)
        Specified by:
        setBufferSize in interface javax.portlet.MimeResponse
        Specified by:
        setBufferSize in interface javax.servlet.ServletResponse
        Overrides:
        setBufferSize in class org.springframework.mock.web.MockHttpServletResponse
      • setContentType

        public void setContentType​(java.lang.String contentType)
        Specified by:
        setContentType in interface javax.portlet.MimeResponse
        Specified by:
        setContentType in interface javax.portlet.RenderResponse
        Specified by:
        setContentType in interface javax.servlet.ServletResponse
        Overrides:
        setContentType in class org.springframework.mock.web.MockHttpServletResponse
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Description copied from interface: IMockServiceInterfaceRenderResponse
        Sets the locale returned by MimeResponse.getLocale().
        Specified by:
        setLocale in interface IMockServiceInterfaceRenderResponse
        Specified by:
        setLocale in interface javax.servlet.ServletResponse
        Overrides:
        setLocale in class org.springframework.mock.web.MockHttpServletResponse
        Parameters:
        locale - the locale.
      • setNextPossiblePortletModes

        public void setNextPossiblePortletModes​(java.util.Collection<javax.portlet.PortletMode> portletModes)
        Specified by:
        setNextPossiblePortletModes in interface javax.portlet.RenderResponse
      • setTitle

        public void setTitle​(java.lang.String title)
        Specified by:
        setTitle in interface javax.portlet.RenderResponse
      • addCookie

        public void addCookie​(javax.servlet.http.Cookie cookie)
        Specified by:
        addCookie in interface javax.servlet.http.HttpServletResponse
        Specified by:
        addCookie in interface IServiceInterfaceResponse
        Overrides:
        addCookie in class org.springframework.mock.web.MockHttpServletResponse
      • addProperty

        public void addProperty​(javax.servlet.http.Cookie arg0)
        Specified by:
        addProperty in interface javax.portlet.PortletResponse
      • addProperty

        public void addProperty​(java.lang.String arg0,
                                org.w3c.dom.Element arg1)
        Specified by:
        addProperty in interface javax.portlet.PortletResponse
      • createElement

        public org.w3c.dom.Element createElement​(java.lang.String arg0)
                                          throws org.w3c.dom.DOMException
        Specified by:
        createElement in interface javax.portlet.PortletResponse
        Throws:
        org.w3c.dom.DOMException
      • createServiceInterfaceURL

        protected IServiceInterfaceUrl createServiceInterfaceURL​(int urlType)
      • encodeURL

        public java.lang.String encodeURL​(java.lang.String url)
        Specified by:
        encodeURL in interface javax.servlet.http.HttpServletResponse
        Specified by:
        encodeURL in interface javax.portlet.PortletResponse
        Overrides:
        encodeURL in class org.springframework.mock.web.MockHttpServletResponse
      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface javax.portlet.PortletResponse
      • setProperty

        public void setProperty​(java.lang.String key,
                                java.lang.String value)
        Specified by:
        setProperty in interface javax.portlet.PortletResponse
      • addProperty

        public void addProperty​(java.lang.String key,
                                java.lang.String value)
        Specified by:
        addProperty in interface javax.portlet.PortletResponse