Package org.opennms.protocols.http
Class FormFields
- java.lang.Object
-
- org.opennms.core.config.api.JaxbListWrapper<FormField>
-
- org.opennms.protocols.http.FormFields
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<FormField>
public class FormFields extends JaxbListWrapper<FormField>
The Class FormFields.- Author:
- Alejandro Galue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormFields()
The Constructor.FormFields(java.util.Collection<? extends FormField> fields)
The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.client.entity.UrlEncodedFormEntity
getEntity()
Gets the entity.java.util.List<FormField>
getObjects()
-
Methods inherited from class org.opennms.core.config.api.JaxbListWrapper
add, add, addAll, addAll, clear, contains, containsAll, equals, get, getCount, getOffset, getTotalCount, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, setCount, setObjects, setOffset, setTotalCount, size, subList, toArray, toArray, toString
-
-
-
-
Constructor Detail
-
FormFields
public FormFields()
The Constructor.
-
FormFields
public FormFields(java.util.Collection<? extends FormField> fields)
The Constructor.- Parameters:
fields
- the fields
-
-
Method Detail
-
getObjects
public java.util.List<FormField> getObjects()
- Overrides:
getObjects
in classJaxbListWrapper<FormField>
-
getEntity
public org.apache.http.client.entity.UrlEncodedFormEntity getEntity() throws java.io.UnsupportedEncodingException
Gets the entity.- Returns:
- the entity
- Throws:
java.io.UnsupportedEncodingException
- the unsupported encoding exception
-
-