|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IFormParamsContext
A context that represents form parameters that is used by multiple wsrp-2.0 operations such as PerformBlockingInteraction and GetResource.
| Method Summary | |
|---|---|
void |
addFormParameter(String name, String[] values)Adds the supplied name and array of values to form data map. |
Map<String,String[]> |
getFormParameters()Name/Value pairs of a submitted form. |
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 |
setUploadedData(InputStream inputStream)Uses supplied inputStream a binary blob that is being uploaded. |
| Method Detail |
|---|
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.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.