public final class DefaultHttpParam extends Object implements HttpParameter
{
String value = Param.TEXT(httpServletRequest, "my default value"); } enum Param implements HttpParam { REGEXP, TEXT;| Modifier | Constructor and Description |
|---|---|
protected |
DefaultHttpParam(String name,
String defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
defaultValue()
Returns a non-null default text value.
|
char |
charAt(int index) |
int |
length() |
CharSequence |
subSequence(int start,
int end) |
String |
toString()
Returns a parameter name
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitof, of, of, of, of, of, of, of, of, of, of, ofcodePoints, chars@Nonnull public String defaultValue()
HttpParameterdefaultValue in interface HttpParameter@Nonnull public String toString()
HttpParametertoString in interface CharSequencetoString in interface HttpParametertoString in class Objectpublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencesubSequence in interface HttpParameterpublic int length()
length in interface CharSequencelength in interface HttpParameterpublic char charAt(int index)
charAt in interface CharSequencecharAt in interface HttpParameterCopyright 2019-2022, Pavel Ponec