|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
HttpAdapter defines the device format interface that is required for all adapters that handles HttpServletRequests.
Field Summary | |
static java.lang.String |
COPYRIGHT
|
static java.lang.Integer |
DEVFMTID_BROWSER
|
static java.lang.String |
DEVFMTNAME_BROWSER
|
static java.lang.String |
DEVFMTNAME_IMODE
|
static java.lang.String |
DEVFMTTYP_BROWSER
|
static java.lang.String |
DEVFMTTYP_PVCDEVICE
|
static java.lang.String |
DEVFMTTYP_XMLFMT
|
static java.lang.Integer |
DEVFMTTYPID_BROWSER
|
static java.lang.Integer |
DEVFMTTYPID_PVC
|
static java.lang.Integer |
DEVFMTTYPID_XML
|
Method Summary | |
HttpAdapterDesc |
getAdapterDesc()
Return the descripter that describes this Http adapter. |
com.ibm.commerce.adapter.HttpServletRequest |
getRequest()
Gets the Http request object. |
java.lang.String |
getRequestName()
Gets the request name . |
TypedProperty |
getRequestProperties()
Gets the request properties assoiciated with this request. |
com.ibm.commerce.adapter.HttpServletResponse |
getResponse()
Gets the Http Servlet Response object. |
boolean |
httpsRedirection()
Returns true if Https redirection is required. |
com.ibm.commerce.adapter.HttpControllerRequestObject |
preprocessRequest()
This method preprocess a HttpServletRequest and return a HttpControllerRequestObject. |
void |
processRequest(com.ibm.commerce.adapter.ServletContext servletContext,
java.lang.String encoding,
boolean storeCommand)
This method is responsible for invoking the web controller to process the incoming request. |
void |
setAdapterDesc(HttpAdapterDesc val)
Sets the HttpAdapterDesc value. |
void |
setRequest(com.ibm.commerce.adapter.HttpServletRequest req)
Sets the HttpServletRequest object. |
void |
setRequestProperties(TypedProperty val)
Sets the request properties assoiciated with this request. |
void |
setResponse(com.ibm.commerce.adapter.HttpServletResponse resp)
Sets the HttpServletResponse object. |
Methods inherited from interface com.ibm.commerce.adapter.DeviceFormatAdapter |
getDefaultDeviceFormatId, getDeviceFormatId, getDeviceFormatName, getDeviceFormatType, getDeviceFormatTypeId, getDocumentPathName, getSessionContext, postInvokeCommand, preInvokeCommand, processErrorResponse, processResponse, setDefaultDeviceFormatId, setDeviceFormatId, setDeviceFormatName, setDeviceFormatType, setDeviceFormatTypeId |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.Integer DEVFMTID_BROWSER
public static final java.lang.String DEVFMTNAME_BROWSER
public static final java.lang.String DEVFMTNAME_IMODE
public static final java.lang.String DEVFMTTYP_BROWSER
public static final java.lang.String DEVFMTTYP_PVCDEVICE
public static final java.lang.String DEVFMTTYP_XMLFMT
public static final java.lang.Integer DEVFMTTYPID_BROWSER
public static final java.lang.Integer DEVFMTTYPID_PVC
public static final java.lang.Integer DEVFMTTYPID_XML
Method Detail |
public HttpAdapterDesc getAdapterDesc()
public com.ibm.commerce.adapter.HttpServletRequest getRequest()
public java.lang.String getRequestName()
public TypedProperty getRequestProperties()
getRequestProperties
in interface DeviceFormatAdapter
public com.ibm.commerce.adapter.HttpServletResponse getResponse()
public boolean httpsRedirection()
public com.ibm.commerce.adapter.HttpControllerRequestObject preprocessRequest()
public void processRequest(com.ibm.commerce.adapter.ServletContext servletContext, java.lang.String encoding, boolean storeCommand) throws ECException
servletContext
- ServletContext - the servlet context associated with this requestencoding
- String - the encoding used for the incoming parametersstoreCommand
- boolean - true if this is a store commandpublic void setAdapterDesc(HttpAdapterDesc val)
public void setRequest(com.ibm.commerce.adapter.HttpServletRequest req)
public void setRequestProperties(TypedProperty val)
public void setResponse(com.ibm.commerce.adapter.HttpServletResponse resp)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |