ariba.ui.aribaweb.core
Class AWBaseRequest
java.lang.Object
ariba.ui.aribaweb.util.AWBaseObject
ariba.ui.aribaweb.core.AWBaseRequest
- All Implemented Interfaces:
- AWRequest, AWDisposable, AWObject
- Direct Known Subclasses:
- AWServletRequest
public abstract class AWBaseRequest
- extends AWBaseObject
- implements AWRequest, AWDisposable
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ariba.ui.aribaweb.core.AWRequest |
fileDataForKey, getSession, headerForKey, headers, method, queryString, requestHandlerKey, requestHandlerPath, requestString, serverPort, uri |
InitialRequestId
public static final java.lang.String InitialRequestId
- See Also:
- Constant Field Values
AcceptLanguageKey
public static final java.lang.String AcceptLanguageKey
- See Also:
- Constant Field Values
ContentLengthKey
public static final java.lang.String ContentLengthKey
- See Also:
- Constant Field Values
ContentTypeKey
public static final java.lang.String ContentTypeKey
- See Also:
- Constant Field Values
DefaultBrowserLanguage
public static final java.lang.String DefaultBrowserLanguage
- See Also:
- Constant Field Values
IsSessionRendezvousFormKey
public static final java.lang.String IsSessionRendezvousFormKey
- See Also:
- Constant Field Values
AllowFailedComponentRendezvousFormKey
public static final java.lang.String AllowFailedComponentRendezvousFormKey
- See Also:
- Constant Field Values
CharacterEncodingKey
public static final java.lang.String CharacterEncodingKey
- See Also:
- Constant Field Values
AWLogFilterListKey
public static final java.lang.String AWLogFilterListKey
- See Also:
- Constant Field Values
AWBaseRequest
public AWBaseRequest()
inputStream
public abstract java.io.InputStream inputStream()
- Specified by:
inputStream
in interface AWRequest
init
public void init()
- Specified by:
init
in interface AWObject
- Overrides:
init
in class AWBaseObject
dispose
public void dispose()
- Specified by:
dispose
in interface AWDisposable
hasHandler
public boolean hasHandler()
- Specified by:
hasHandler
in interface AWRequest
isMultipartEncoded
public boolean isMultipartEncoded()
userAgent
public java.lang.String userAgent()
- Returns the HTTP User-Agent field or null if one does not exist.
See also RFC2616, section 14.43.
- Specified by:
userAgent
in interface AWRequest
- Returns:
- Returns the User-Agent or null.
contentType
public java.lang.String contentType()
- Specified by:
contentType
in interface AWRequest
contentLength
public int contentLength()
- Specified by:
contentLength
in interface AWRequest
remoteHost
public abstract java.lang.String remoteHost()
- Specified by:
remoteHost
in interface AWRequest
remoteHostAddress
public abstract java.lang.String remoteHostAddress()
- Specified by:
remoteHostAddress
in interface AWRequest
initIsBrowserFirefox
public boolean initIsBrowserFirefox()
initIsBrowserMicrosoft
public boolean initIsBrowserMicrosoft()
initIsBrowserSafari
public boolean initIsBrowserSafari()
initIsBrowserChrome
public boolean initIsBrowserChrome()
initisMacintosh
public boolean initisMacintosh()
initIsIPad
public boolean initIsIPad()
acceptLanguage
public java.lang.String acceptLanguage()
requestLocales
public java.util.List requestLocales()
- Specified by:
requestLocales
in interface AWRequest
preferredLocale
public java.util.Locale preferredLocale()
- Specified by:
preferredLocale
in interface AWRequest
applicationNumber
public java.lang.String applicationNumber()
- Specified by:
applicationNumber
in interface AWRequest
isBrowserFirefox
public boolean isBrowserFirefox()
- Specified by:
isBrowserFirefox
in interface AWRequest
isBrowserMicrosoft
public boolean isBrowserMicrosoft()
- Specified by:
isBrowserMicrosoft
in interface AWRequest
isBrowserIE55
public boolean isBrowserIE55()
- Specified by:
isBrowserIE55
in interface AWRequest
isBrowserSafari
public boolean isBrowserSafari()
- Specified by:
isBrowserSafari
in interface AWRequest
isBrowserChrome
public boolean isBrowserChrome()
- Specified by:
isBrowserChrome
in interface AWRequest
isMacintosh
public boolean isMacintosh()
- Specified by:
isMacintosh
in interface AWRequest
isIPad
public boolean isIPad()
- Specified by:
isIPad
in interface AWRequest
isSecureScheme
public boolean isSecureScheme()
- Specified by:
isSecureScheme
in interface AWRequest
isTooManyTabRequest
public boolean isTooManyTabRequest()
- Specified by:
isTooManyTabRequest
in interface AWRequest
setTooManyTabRequest
public void setTooManyTabRequest(boolean isTooManyTabRequest)
requestId
public java.lang.String requestId()
- Specified by:
requestId
in interface AWRequest
responseId
public AWEncodedString responseId()
- Specified by:
responseId
in interface AWRequest
sessionId
public java.lang.String sessionId()
- Specified by:
sessionId
in interface AWRequest
sessionSecureId
public java.lang.String sessionSecureId()
frameName
public AWEncodedString frameName()
- Specified by:
frameName
in interface AWRequest
resetRequestId
public void resetRequestId()
- Specified by:
resetRequestId
in interface AWRequest
formValues
public java.util.Map formValues()
- Specified by:
formValues
in interface AWRequest
formValueForKey
public java.lang.String formValueForKey(java.lang.String formValueKey,
boolean ignoresCase)
- Specified by:
formValueForKey
in interface AWRequest
formValueForKey
public java.lang.String formValueForKey(java.lang.String formValueKey)
- Specified by:
formValueForKey
in interface AWRequest
formValueForKey
public java.lang.String formValueForKey(AWEncodedString formValueKey)
- Specified by:
formValueForKey
in interface AWRequest
formValuesForKey
public java.lang.String[] formValuesForKey(java.lang.String formValueKey,
boolean ignoresCase)
- Specified by:
formValuesForKey
in interface AWRequest
formValuesForKey
public java.lang.String[] formValuesForKey(java.lang.String formValueKey)
- Specified by:
formValuesForKey
in interface AWRequest
formValuesForKey
public java.lang.String[] formValuesForKey(AWEncodedString formValueKey)
- Specified by:
formValuesForKey
in interface AWRequest
hasFormValueForKey
public boolean hasFormValueForKey(java.lang.String formValueKey,
boolean ignoresCase)
- Specified by:
hasFormValueForKey
in interface AWRequest
hasFormValueForKey
public boolean hasFormValueForKey(java.lang.String formValueKey)
- Specified by:
hasFormValueForKey
in interface AWRequest
hasFormValueForKey
public boolean hasFormValueForKey(AWEncodedString formValueKey)
- Specified by:
hasFormValueForKey
in interface AWRequest
characterEncoding
public AWCharacterEncoding characterEncoding()
- Specified by:
characterEncoding
in interface AWRequest
setCharacterEncoding
public void setCharacterEncoding(AWCharacterEncoding characterEncoding)
- Specified by:
setCharacterEncoding
in interface AWRequest
decodeString
public static java.lang.String decodeString(java.lang.String string,
FastStringBuffer buffer)
- Parse a string that is URL encoded.
NOTE: This code is based on ariba.util.net.CGI
parametersFromUrlEncodedString
public static Parameters parametersFromUrlEncodedString(java.lang.String formValuesString)
- Parse CGI form content.
NOTE: This code is based on ariba.util.net.CGI
parseUrlEncodedFormValues
public static java.util.Map parseUrlEncodedFormValues(java.lang.String formValuesString)
getSession
public javax.servlet.http.HttpSession getSession()
- Specified by:
getSession
in interface AWRequest
removeCookieValue
public void removeCookieValue(java.lang.String cookieName)
cookieValuesForKey
public java.lang.String[] cookieValuesForKey(java.lang.String cookieName)
- Specified by:
cookieValuesForKey
in interface AWRequest
cookieValueForKey
public java.lang.String cookieValueForKey(java.lang.String cookieName)
- Specified by:
cookieValueForKey
in interface AWRequest
contentStream
public java.io.InputStream contentStream()
content
public byte[] content()
- Specified by:
content
in interface AWRequest
senderId
public AWEncodedString senderId()
- Specified by:
senderId
in interface AWRequest
senderIds
public java.lang.String[] senderIds()
createInternalRequest
public static AWBaseRequest createInternalRequest(java.lang.String url,
AWBaseRequest originalRequest)
createInternalRequest
public static AWBaseRequest createInternalRequest(java.lang.String url,
java.lang.String applicationNumber)
isInternalRequest
public static boolean isInternalRequest(AWRequestContext requestContext)
getBaseRequest
public AWBaseRequest getBaseRequest()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.