SubmitFormAction

class SubmitFormAction(val uri: String, fieldNames: List<String>, flags: EnumSet<SubmitFormAction.SubmitFormActionFlag>, subActions: List<Action> = emptyList()) : AbstractFormAction

PDF action for sending form data to a URI.

Constructors

Link copied to clipboard
constructor(uri: String, fieldNames: List<String>, flags: EnumSet<SubmitFormAction.SubmitFormActionFlag>, subActions: List<Action> = emptyList())
constructor(uri: String, formFields: List<FormField>, flags: EnumSet<SubmitFormAction.SubmitFormActionFlag>)

Types

Link copied to clipboard

Flags specifying various characteristics of form submit action.

Properties

Link copied to clipboard
open override val type: ActionType

Returns type of action to make down-casting easier.

Link copied to clipboard
val uri: String

The target URI to submit form data to.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Compares this submit form action to the specified object for equality.

Link copied to clipboard

Returns the flags configured for this submit form action.

Link copied to clipboard
open override fun hashCode(): Int

Returns a hash code value for this submit form action.

Link copied to clipboard
open override fun shouldExcludeFormFields(): Boolean

Indicates whether to include form fields in fieldNames in the action or exclude them.

Link copied to clipboard
open override fun toString(): String

Returns a string representation of this submit form action for debugging purposes.