|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ws.rs.core.Form
public class Form
Represents the the HTML form data request entity encoded using the
"application/x-www-form-urlencoded" content type.
| Constructor Summary | |
|---|---|
Form()
Create a new form data instance. |
|
Form(MultivaluedMap<String,String> store)
Create a new form data instance and register the underlying parameter store. |
|
Form(String parameterName,
String parameterValue)
Create a new form data instance with a single parameter entry. |
|
| Method Summary | |
|---|---|
MultivaluedMap<String,String> |
asMap()
Returns multivalued map representation of the form. |
Form |
param(String name,
String value)
Adds a new value to the specified form parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Form()
public Form(String parameterName,
String parameterValue)
parameterName - form parameter name.parameterValue - form parameter value.public Form(MultivaluedMap<String,String> store)
store - form data store used by the created form instance.| Method Detail |
|---|
public Form param(String name,
String value)
name - name of the parameter.value - new parameter value to be added.
Form instance.public MultivaluedMap<String,String> asMap()
MultivaluedMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||