Package org.ujorm.tools.web.ao
Class DefaultHttpParam
java.lang.Object
org.ujorm.tools.web.ao.DefaultHttpParam
- All Implemented Interfaces:
CharSequence,HttpParameter
An interface for bulding HTML parameters by an Enumerator.
Usage
{
String value = Param.TEXT(ServletRequest, "my default value"); } enum Param implements HttpParam { REGEXP, TEXT;- Author:
- Pavel Ponec
-
Field Summary
Fields inherited from interface org.ujorm.tools.web.ao.HttpParameter
EMPTY_VALUE -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ujorm.tools.web.ao.HttpParameter
buildParameterName, of, of, of, of, of, of, of, of, of, of, of, of, of, of, originalNameMethods inherited from interface java.lang.CharSequence
codePoints, chars, isEmpty
-
Method Details
-
defaultValue
Description copied from interface:HttpParameterReturns a non-null default text value. The standard value is an empty String, override it for a change.- Specified by:
defaultValuein interfaceHttpParameter
-
toString
Description copied from interface:HttpParameterReturns a parameter name- Specified by:
toStringin interfaceHttpParameter- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
subSequence
- Specified by:
subSequencein interfaceHttpParameter- Specified by:
subSequencein interfaceCharSequence
-
length
public int length()- Specified by:
lengthin interfaceHttpParameter- Specified by:
lengthin interfaceCharSequence
-
charAt
public char charAt(int index) - Specified by:
charAtin interfaceHttpParameter- Specified by:
charAtin interfaceCharSequence
-