ariba.ui.servletadaptor
Class AWServletResponse
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWBaseResponse
ariba.ui.servletadaptor.AWServletResponse
- All Implemented Interfaces:
- AWResponse, AWResponseGenerating, AWObject
- Direct Known Subclasses:
- AWStreamingServletResponse
public class AWServletResponse
- extends AWBaseResponse
An @{link ariba.ui.aribaweb.core.AWResponse} that ultimately writes its data to an
HttpServletResponse.
Fields inherited from class ariba.ui.aribaweb.util.AWBaseObject |
AribaHashtableClass, AribaVectorClass, ClassClass, EmptyHashtable, EmptyMap, EmptyVector, False, IntegerClass, JavaHashtableClass, JavaMapClass, JavaVectorClass, LogHandling, NullObject, ObjectClass, StringClass, True, UndefinedObject, UndefinedString, UninitializedRealNumber |
Methods inherited from class ariba.ui.aribaweb.core.AWBaseResponse |
_debugIsStreamingResponse, addCookie, appendContent, appendContent, appendContent, appendContent, browserCachingEnabled, characterEncoding, contentString, contentType, currentRegionIsScope, elementIdToSemanticKeyTable, flushSizeStat, generateResponse, generateStringContents, hasIncrementalChange, hasNoChangeBufferChanged, hasRootBufferChanged, init, isContentGeneration, isDeferred, semanticKeyToElementIdTable, setBrowserCachingEnabled, setCharacterEncoding, setContentType, setDeferred, setIsContentGeneration, writeContent, writeFullContent |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AWServletResponse
public AWServletResponse()
init
public void init()
- Specified by:
init
in interface AWResponse
- Specified by:
init
in interface AWObject
- Overrides:
init
in class AWBaseResponse
setHeaderForKey
public void setHeaderForKey(java.lang.String headerValue,
java.lang.String headerKey)
setHeadersForKey
public void setHeadersForKey(java.lang.String[] headerValues,
java.lang.String headerKey)
setStatus
public void setStatus(int status)
getStatus
public int getStatus()
- This will return a HTTP code, or -1 for an uninitialized value.
- Returns:
setContentFromFile
public void setContentFromFile(java.lang.String filePath)
setContentFromStream
public void setContentFromStream(java.io.InputStream stream)
- Overrides:
setContentFromStream
in class AWBaseResponse
setContent
public void setContent(byte[] bytes)
content
public byte[] content()
- Specified by:
content
in interface AWResponse
- Overrides:
content
in class AWBaseResponse
contentLength
public int contentLength()
- Overrides:
contentLength
in class AWBaseResponse
disableClientCaching
public void disableClientCaching()
createCookie
public AWCookie createCookie(java.lang.String cookieName,
java.lang.String cookieValue)
_debugHeaders
public java.util.Map _debugHeaders()
- Specified by:
_debugHeaders
in interface AWResponse
- Overrides:
_debugHeaders
in class AWBaseResponse
_debugSetRecordPlaybackParameters
public void _debugSetRecordPlaybackParameters(AWRecordingManager recordingMgr,
boolean inPlayback)
- Specified by:
_debugSetRecordPlaybackParameters
in interface AWResponse
- Overrides:
_debugSetRecordPlaybackParameters
in class AWBaseResponse
_debugSetSemanticKeyMapping
public void _debugSetSemanticKeyMapping(byte[] bytes)
- Specified by:
_debugSetSemanticKeyMapping
in interface AWResponse
- Overrides:
_debugSetSemanticKeyMapping
in class AWBaseResponse
_debugGetSemanticKeyMapping
public byte[] _debugGetSemanticKeyMapping()
- Specified by:
_debugGetSemanticKeyMapping
in interface AWResponse
- Overrides:
_debugGetSemanticKeyMapping
in class AWBaseResponse
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.