java.lang.Object | +--com.ibm.commerce.adapter.AbstractHttpAdapter | +--com.ibm.commerce.browseradapter.HttpBrowserAdapter
Reserved for IBM internal use. HttpBrowserAdapter is the device format adapter that is responsible for handling http requests that comes from a browser.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Fields inherited from class com.ibm.commerce.adapter. AbstractHttpAdapter |
desc,
encoding,
req,
reqObj,
requestProperties,
resp,
sessionContext |
Fields inherited from interface com.ibm.commerce.adapter. HttpAdapter |
DEVFMTID_BROWSER,
DEVFMTNAME_BROWSER,
DEVFMTNAME_IMODE,
DEVFMTTYP_BROWSER,
DEVFMTTYP_PVCDEVICE,
DEVFMTTYP_XMLFMT,
DEVFMTTYPID_BROWSER,
DEVFMTTYPID_PVC,
DEVFMTTYPID_XML |
Constructor Summary | |
---|---|
HttpBrowserAdapter() Reserved for IBM internal use. |
Method Summary | |
---|---|
boolean |
checkDeviceFormat(HttpServletRequest req,
TypedProperty prop) Reserved for IBM internal use. |
HttpAdapter |
createAdapter(HttpServletRequest _req, HttpServletResponse _resp,
TypedProperty _prop) Reserved for IBM internal use. |
HttpSessionContext |
createSessionContext() Reserved for IBM internal use. |
java.lang.String |
getDocumentPathName(java.lang.String name) Reserved for IBM internal use. |
SessionContext |
getSessionContext() Reserved for IBM internal use. |
java.lang.String |
getUniqueIdentifier() Reserved for IBM internal use. |
protected
HttpControllerRequestObject |
handleLoginTimeout(HttpControllerRequestObject obj,
CommandContext commandContext) Reserved for IBM internal use. |
protected
HttpControllerRequestObject |
handlePasswordInvalidation(HttpControllerRequestObject obj) Reserved for IBM internal use. |
protected
HttpControllerRequestObject |
handlePasswordRerequestSupport(HttpControllerRequestObject obj) Reserved for IBM internal use. |
boolean |
httpsRedirection() Reserved for IBM internal use. |
boolean |
isDoubleClickHandlerEnabled() Reserved for IBM internal use. |
void |
postInvokeCommand(
CommandContext commandContext) Reserved for IBM internal use. |
boolean |
preInvokeCommand(
CommandContext commandContext) Reserved for IBM internal use. |
HttpControllerRequestObject |
preprocessRequest() Reserved for IBM internal use. |
protected
HttpControllerRequestObject |
processCrossSiteScriptingProtection(HttpControllerRequestObject obj) Reserved for IBM internal use. |
static
HttpBrowserAdapter |
singleton() Reserved for IBM internal use. |
protected
void |
validatePasswordForPasswordProtectedRequest(
CommandContext commandContext) Reserved for IBM internal use. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.adapter. HttpAdapterFactory |
checkDeviceFormat |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public HttpBrowserAdapter()
Method Detail |
---|
public boolean checkDeviceFormat(HttpServletRequest req, TypedProperty prop)
req
- HttpServletRequestprop
- TypedPropertiespublic HttpAdapter createAdapter(HttpServletRequest _req, HttpServletResponse _resp, TypedProperty _prop)
_req
- the HTTP request object._resp
- the HTTP response object._prop
- the request properties.HttpAdapter
that can handle
the request or null
.public HttpSessionContext createSessionContext() throws ECException
ECException
public java.lang.String getDocumentPathName(java.lang.String name)
getDocumentPathName
in interface
DeviceFormatAdapter
getDocumentPathName
in class
AbstractHttpAdapter
name
- the base document name.public SessionContext getSessionContext() throws ECException
ECException
- if there was a problem retrieving the session context.public boolean httpsRedirection()
public void postInvokeCommand(CommandContext commandContext)
commandContext
- CommandContext - the command context
associated with the command.ECException
public boolean preInvokeCommand(CommandContext commandContext)
commandContext
- CommandContext - the command context
associated with the command.ECException
public HttpControllerRequestObject preprocessRequest()
preprocessRequest
in interface
HttpAdapter
preprocessRequest
in class
AbstractHttpAdapter
public static HttpBrowserAdapter singleton()
protected HttpControllerRequestObject processCrossSiteScriptingProtection(HttpControllerRequestObject obj)
protected HttpControllerRequestObject handleLoginTimeout(HttpControllerRequestObject obj, CommandContext commandContext)
protected HttpControllerRequestObject handlePasswordRerequestSupport(HttpControllerRequestObject obj)
protected void validatePasswordForPasswordProtectedRequest(CommandContext commandContext)
protected HttpControllerRequestObject handlePasswordInvalidation(HttpControllerRequestObject obj)
public boolean isDoubleClickHandlerEnabled()
isDoubleClickHandlerEnabled
in interface
HttpAdapter
isDoubleClickHandlerEnabled
in class
AbstractHttpAdapter
public java.lang.String getUniqueIdentifier()
getUniqueIdentifier
in interface
HttpAdapter
getUniqueIdentifier
in class
AbstractHttpAdapter
null
.HttpAdapter.getUniqueIdentifier()