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:
Serializable
,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(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.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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
FormFields
public FormFields()
The Constructor.
-
FormFields
public FormFields(Collection<? extends FormField> fields)
The Constructor.- Parameters:
fields
- the fields
-
-
Method Detail
-
getObjects
public List<FormField> getObjects()
- Overrides:
getObjects
in classJaxbListWrapper<FormField>
-
getEntity
public org.apache.http.client.entity.UrlEncodedFormEntity getEntity() throws UnsupportedEncodingException
Gets the entity.- Returns:
- the entity
- Throws:
UnsupportedEncodingException
- the unsupported encoding exception
-
-