com.gargoylesoftware.htmlunit
Class SubmitMethod

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.SubmitMethod
All Implemented Interfaces:
java.io.Serializable

public final class SubmitMethod
extends java.lang.Object
implements java.io.Serializable

A collection of constants that represent the various ways a page can be submitted

Version:
$Revision: 1.3 $
Author:
Mike Bowler, Ahmed Ashour
See Also:
Serialized Form

Field Summary
static SubmitMethod GET
 GET
static SubmitMethod POST
 POST
 
Method Summary
static SubmitMethod getInstance(java.lang.String name)
 Return the constant that matches the given name
 java.lang.String getName()
 Return the name of this SubmitMethod
 java.lang.String toString()
 Return a string representation of this object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GET

public static final SubmitMethod GET
GET


POST

public static final SubmitMethod POST
POST

Method Detail

getInstance

public static SubmitMethod getInstance(java.lang.String name)
Return the constant that matches the given name

Parameters:
name - The name to search by
Returns:
See above

getName

public java.lang.String getName()
Return the name of this SubmitMethod

Returns:
See above

toString

public java.lang.String toString()
Return a string representation of this object

Overrides:
toString in class java.lang.Object
Returns:
See above


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.