Class HttpResponseWrapper

java.lang.Object
de.uplanet.lucy.server.connector.web.HttpResponseWrapper
All Implemented Interfaces:
de.uplanet.lucy.server.connector.web.IHttpResponseWrapper

public final class HttpResponseWrapper extends Object implements de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
  • Constructor Details

  • Method Details

    • getIgnoreWrite

      public boolean getIgnoreWrite()
      Specified by:
      getIgnoreWrite in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • setIgnoreWrite

      public void setIgnoreWrite(boolean p_bIgnoreWrite)
      Specified by:
      setIgnoreWrite in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • setContentDisposition

      public void setContentDisposition(String p_strDispositionType, String p_strFileName)
      Specified by:
      setContentDisposition in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • reset

      public void reset()
      Specified by:
      reset in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • getOutputStream

      public OutputStream getOutputStream() throws IOException
      Specified by:
      getOutputStream in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      IOException
    • getWriter

      public Writer getWriter() throws IOException
      Specified by:
      getWriter in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      IOException
    • getBufferSize

      public int getBufferSize()
      Specified by:
      getBufferSize in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • setBufferSize

      public void setBufferSize(int p_iBufSize)
      Specified by:
      setBufferSize in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • resetBuffer

      public void resetBuffer()
      Specified by:
      resetBuffer in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • flushBuffer

      public void flushBuffer()
      Specified by:
      flushBuffer in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • isCommitted

      public boolean isCommitted()
      Specified by:
      isCommitted in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Returns:
      Always false with the current implementation.
    • getCharacterEncoding

      public String getCharacterEncoding()
      Specified by:
      getCharacterEncoding in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • setLocale

      public void setLocale(Locale p_locale)
      Specified by:
      setLocale in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • setContentLength

      public void setContentLength(int p_iContentLength)
      Specified by:
      setContentLength in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • setContentLengthLong

      public void setContentLengthLong(long p_lContentLength)
      Specified by:
      setContentLengthLong in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • setContentType

      public void setContentType(String p_strContentType)
      Specified by:
      setContentType in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • setStatus

      public void setStatus(int p_iStatus)
      Specified by:
      setStatus in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • getStatus

      public int getStatus()
      Specified by:
      getStatus in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • setStatus

      @Deprecated public void setStatus(int p_iStatus, String p_strMsg)
      Deprecated.
      Specified by:
      setStatus in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • sendError

      public void sendError(int p_iStatus, String p_strMsg) throws IOException
      Specified by:
      sendError in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      IOException
    • sendError

      public void sendError(int p_iStatus) throws IOException
      Specified by:
      sendError in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      IOException
    • sendRedirect

      public void sendRedirect(String p_strLocation) throws IOException
      Specified by:
      sendRedirect in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      IOException
    • setCharacterEncoding

      public void setCharacterEncoding(String p_strEncoding)
      Specified by:
      setCharacterEncoding in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • getHeaders

      public Collection<String> getHeaders(String p_strName)
      Specified by:
      getHeaders in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • getHeaderNames

      public Collection<String> getHeaderNames()
      Specified by:
      getHeaderNames in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • getHeader

      public String getHeader(String p_strName)
      Specified by:
      getHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • setHeader

      public void setHeader(String p_strName, String p_strValue)
      Specified by:
      setHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • setDateHeader

      public void setDateHeader(String p_strName, long p_lTime)
      Specified by:
      setDateHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • setIntHeader

      public void setIntHeader(String p_strName, int p_iValue)
      Specified by:
      setIntHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • addDateHeader

      public void addDateHeader(String p_strName, long p_lTime)
      Specified by:
      addDateHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • addHeader

      public void addHeader(String p_strName, String p_strValue)
      Specified by:
      addHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • addIntHeader

      public void addIntHeader(String p_strName, int p_iValue)
      Specified by:
      addIntHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • containsHeader

      public boolean containsHeader(String p_strName)
      Specified by:
      containsHeader in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • addCookie

      public void addCookie(Cookie p_cookie)
      Specified by:
      addCookie in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • addCookie

      public void addCookie(jakarta.servlet.http.Cookie p_cookie)
      Specified by:
      addCookie in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
    • encodeRedirectURL

      public String encodeRedirectURL(String p_strUrl)
      Specified by:
      encodeRedirectURL in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • encodeRedirectUrl

      @Deprecated public String encodeRedirectUrl(String p_strUrl)
      Deprecated.
      Specified by:
      encodeRedirectUrl in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • encodeURL

      public String encodeURL(String p_strUrl)
      Specified by:
      encodeURL in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.
    • encodeUrl

      @Deprecated public String encodeUrl(String p_strUrl)
      Deprecated.
      Specified by:
      encodeUrl in interface de.uplanet.lucy.server.connector.web.IHttpResponseWrapper
      Throws:
      UnsupportedOperationException - Always.