Reserved for IBM internal use. HttpAdapterFactory defines the interface that is required for a http adapter factory. The adapter factory is called to check whether a request can be handled by the associated adapter and also to instantiate an adapter.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM Copyright notice field. |
Method Summary | |
---|---|
boolean |
checkDeviceFormat(javax.servlet.http.HttpServletRequest req,
TypedProperty prop) Reserved for IBM internal use. |
HttpAdapter |
createAdapter(HttpServletRequest request, HttpServletResponse response,
TypedProperty param) Reserved for IBM internal use. |
HttpAdapterDesc |
getAdapterDesc() Reserved for IBM internal use. |
void |
initFactory(org.w3c.dom.Element node) Reserved for IBM internal use. |
boolean |
isEnabled() Reserved for IBM internal use. |
Methods inherited from interface com.ibm.commerce.adapter. DeviceFormatAdapter |
getDefaultDeviceFormatId,
getDeviceFormatId,
getDeviceFormatName,
getDeviceFormatType,
getDeviceFormatTypeId,
getDocumentPathName,
getRequestProperties,
getSessionContext,
postInvokeCommand,
preInvokeCommand,
processErrorResponse,
processResponse,
setDefaultDeviceFormatId,
setDeviceFormatId,
setDeviceFormatName,
setDeviceFormatType,
setDeviceFormatTypeId |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public boolean checkDeviceFormat(javax.servlet.http.HttpServletRequest req, TypedProperty prop)
true
if this request can be processed by this adapter
or false
if this request cannot be processed by this
adapter.public HttpAdapterDesc getAdapterDesc()
public void initFactory(org.w3c.dom.Element node) throws java.lang.Exception
node
- the configuration for the adapter.java.lang.Exception
- if there was a problem initializing the
adapter.public boolean isEnabled()
public HttpAdapter createAdapter(HttpServletRequest request, HttpServletResponse response, TypedProperty param)
request
- the HTTP request object.response
- the HTTP response object.param
- the request properties.HttpAdapter
that can handle
the request or null
.