Package org.alfresco.repo.web.scripts
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 Summary
ConstructorsConstructorDescriptionBufferedRequest
(org.springframework.extensions.webscripts.WebScriptRequest req, TempOutputStreamFactory streamFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
boolean
getAgent()
org.springframework.extensions.surf.util.Content
org.springframework.extensions.webscripts.Description.FormatStyle
String[]
String[]
getHeaderValues
(String name) org.springframework.extensions.webscripts.WebScriptRequest
getNext()
getParameter
(String name) String[]
String[]
getParameterValues
(String name) org.springframework.extensions.webscripts.Runtime
org.springframework.extensions.webscripts.Match
getURL()
boolean
isGuest()
void
reset()
-
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 interfaceorg.springframework.extensions.webscripts.WrappingWebScriptRequest
-
forceSuccessStatus
public boolean forceSuccessStatus()- Specified by:
forceSuccessStatus
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getAgent
- Specified by:
getAgent
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getContent
public org.springframework.extensions.surf.util.Content getContent()- Specified by:
getContent
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getContentType
- Specified by:
getContentType
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getContextPath
- Specified by:
getContextPath
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getExtensionPath
- Specified by:
getExtensionPath
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getFormat
- Specified by:
getFormat
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getFormatStyle
public org.springframework.extensions.webscripts.Description.FormatStyle getFormatStyle()- Specified by:
getFormatStyle
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getHeader
- Specified by:
getHeader
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getHeaderNames
- Specified by:
getHeaderNames
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getHeaderValues
- Specified by:
getHeaderValues
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getJSONCallback
- Specified by:
getJSONCallback
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getParameter
- Specified by:
getParameter
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getParameterNames
- Specified by:
getParameterNames
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getParameterValues
- Specified by:
getParameterValues
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getPathInfo
- Specified by:
getPathInfo
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getQueryString
- Specified by:
getQueryString
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getRuntime
public org.springframework.extensions.webscripts.Runtime getRuntime()- Specified by:
getRuntime
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getServerPath
- Specified by:
getServerPath
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getServiceContextPath
- Specified by:
getServiceContextPath
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getServiceMatch
public org.springframework.extensions.webscripts.Match getServiceMatch()- Specified by:
getServiceMatch
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getServicePath
- Specified by:
getServicePath
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
getURL
- Specified by:
getURL
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
isGuest
public boolean isGuest()- Specified by:
isGuest
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-
parseContent
- Specified by:
parseContent
in interfaceorg.springframework.extensions.webscripts.WebScriptRequest
-