Class BufferedRequest

java.lang.Object
org.alfresco.repo.web.scripts.BufferedRequest
All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScriptRequest, org.springframework.extensions.webscripts.WrappingWebScriptRequest

public class BufferedRequest extends Object implements org.springframework.extensions.webscripts.WrappingWebScriptRequest
  • Constructor Details

    • BufferedRequest

      public BufferedRequest(org.springframework.extensions.webscripts.WebScriptRequest req, TempOutputStreamFactory streamFactory)
  • Method Details

    • reset

      public void reset()
    • close

      public void close()
    • getNext

      public org.springframework.extensions.webscripts.WebScriptRequest getNext()
      Specified by:
      getNext in interface org.springframework.extensions.webscripts.WrappingWebScriptRequest
    • forceSuccessStatus

      public boolean forceSuccessStatus()
      Specified by:
      forceSuccessStatus in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getAgent

      public String getAgent()
      Specified by:
      getAgent in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getContent

      public org.springframework.extensions.surf.util.Content getContent()
      Specified by:
      getContent in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getContentType

      public String getContentType()
      Specified by:
      getContentType in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getContextPath

      public String getContextPath()
      Specified by:
      getContextPath in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getExtensionPath

      public String getExtensionPath()
      Specified by:
      getExtensionPath in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getFormat

      public String getFormat()
      Specified by:
      getFormat in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getFormatStyle

      public org.springframework.extensions.webscripts.Description.FormatStyle getFormatStyle()
      Specified by:
      getFormatStyle in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getHeader

      public String getHeader(String name)
      Specified by:
      getHeader in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getHeaderNames

      public String[] getHeaderNames()
      Specified by:
      getHeaderNames in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getHeaderValues

      public String[] getHeaderValues(String name)
      Specified by:
      getHeaderValues in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getJSONCallback

      public String getJSONCallback()
      Specified by:
      getJSONCallback in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getParameter

      public String getParameter(String name)
      Specified by:
      getParameter in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getParameterNames

      public String[] getParameterNames()
      Specified by:
      getParameterNames in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getParameterValues

      public String[] getParameterValues(String name)
      Specified by:
      getParameterValues in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getPathInfo

      public String getPathInfo()
      Specified by:
      getPathInfo in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getQueryString

      public String getQueryString()
      Specified by:
      getQueryString in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getRuntime

      public org.springframework.extensions.webscripts.Runtime getRuntime()
      Specified by:
      getRuntime in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getServerPath

      public String getServerPath()
      Specified by:
      getServerPath in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getServiceContextPath

      public String getServiceContextPath()
      Specified by:
      getServiceContextPath in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getServiceMatch

      public org.springframework.extensions.webscripts.Match getServiceMatch()
      Specified by:
      getServiceMatch in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getServicePath

      public String getServicePath()
      Specified by:
      getServicePath in interface org.springframework.extensions.webscripts.WebScriptRequest
    • getURL

      public String getURL()
      Specified by:
      getURL in interface org.springframework.extensions.webscripts.WebScriptRequest
    • isGuest

      public boolean isGuest()
      Specified by:
      isGuest in interface org.springframework.extensions.webscripts.WebScriptRequest
    • parseContent

      public Object parseContent()
      Specified by:
      parseContent in interface org.springframework.extensions.webscripts.WebScriptRequest