|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBlockingInteractionBaseRequestContext
A base request context that represents partial input data for the "performBlockingInteraction" operation. It includes accessors and mutators for most elements described in the WSRP specification except WLP extensions.
| Method Summary | |
|---|---|
void |
addFormParameter(String name,
String[] values)
Adds the supplied name and array of values to form data map. |
void |
forceGetMarkupCall(boolean value)
"true" value forces a "getMarkup" operation to follow the "performBlockingInteraction" operation. |
Map<String,String[]> |
getFormParameters()
Name/Value pairs of a submitted form. |
String |
getInteractionState()
An opaque representation of transient information of the current portlet, used in processing the "performBlockingInteraction" operation. |
InputStream |
getUploadedData()
A binary blob that is being uploaded by an user. |
void |
setFormParameter(String name,
String[] values)
If the supplied name form parameter found, it replaces values with the supplied
values array, otherwise adds the supplied name and values
as a form parameter. |
void |
setInteractionState(String interactionState)
Sets the supplied interactionState as interaction state for the current portlet. |
void |
setUploadedData(InputStream inputStream)
Uses supplied inputStream a binary blob that is being uploaded. |
boolean |
shouldForceGetMarkupCall()
Custom method that indicates to execute a "getMarkup" operation |
| Methods inherited from interface com.bea.wsrp.model.markup.IGetMarkupBaseRequestContext |
|---|
addLocale, addMarkupCharacterSet, addMimeType, getLocales, getMarkupCharacterSets, getMimeTypes, getMode, getNavigationalState, getPublicNavigationalState, getRequestVerb, getUserAgent, getWindowState, isSecureClientCommunicationOn, isValidateTagOn, setMarkupCharacterSet, setMode, setNavigationalState, setPublicNavigationalState, setRequestVerb, setUserAgent, setValidateTagOn, setWindowState |
| Methods inherited from interface com.bea.wsrp.model.markup.IBaseRequestContext |
|---|
addMimeHeader, getHttpServletRequest, getHttpServletResponse, getMimeHeaders, getMimeHeaders, getProducerInfo, getServletContext, removeMimeHeader, setMimeHeader |
| Methods inherited from interface com.bea.wsrp.model.IMutableRegistrationContext |
|---|
setRegistrationHandle, setRegistrationState |
| Methods inherited from interface com.bea.wsrp.model.IRegistrationContext |
|---|
getRegistrationHandle, getRegistrationState |
| Methods inherited from interface com.bea.wsrp.model.INillable |
|---|
isNil |
| Methods inherited from interface com.bea.wsrp.model.markup.IUserContext |
|---|
getUserContextKey, getUserProfile, setUserContextKey |
| Methods inherited from interface com.bea.wsrp.model.INillable |
|---|
isNil |
| Methods inherited from interface com.bea.wsrp.bind.IPortletContextHolder |
|---|
getPortletContext |
| Method Detail |
|---|
String getInteractionState()
void setInteractionState(String interactionState)
interactionState as interaction state for the current portlet.
interactionState - An interaction state for the current portlet.Map<String,String[]> getFormParameters()
void addFormParameter(String name,
String[] values)
values are
added to the existing values list corresponding to the supplied name parameter.
Note: The data in values should be encoded/decoded correctly so that a producer
can understand.
name - the name of a form parameter.values - an array of values for the supplied form parameter.
void setFormParameter(String name,
String[] values)
name form parameter found, it replaces values with the supplied
values array, otherwise adds the supplied name and values
as a form parameter.
Note: The data in values should be encoded/decoded correctly so that a producer
can understand.
name - the name of a form parameter.values - an array of values for the supplied form parameter.
InputStream getUploadedData()
throws IOException
IOException - if unable to retrieve inputstream from an http request.void setUploadedData(InputStream inputStream)
inputStream a binary blob that is being uploaded.
inputStream - An input stream of the data being uploaded.boolean shouldForceGetMarkupCall()
void forceGetMarkupCall(boolean value)
value - true forces a "getMarkup" call after making the current "performBlockingInteraction"
operation.
|
Copyright © 2008 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||