@groovy.transform.CompileStatic enum HttpHeader extends java.lang.Enum
Enum for common HTTP headers
Type | Name and description |
---|---|
java.lang.String |
text |
Constructor and description |
---|
HttpHeader
(java.lang.String text) |
Type | Name and description |
---|---|
char |
charAt(int index) |
static HttpHeader |
forName(java.lang.CharSequence name) Obtain a header instance for the given name |
int |
length() |
java.lang.CharSequence |
subSequence(int start, int end) |
java.lang.String |
toString() |
Methods inherited from class | Name |
---|---|
class java.lang.Enum |
java.lang.Enum#name(), java.lang.Enum#equals(java.lang.Object), java.lang.Enum#toString(), java.lang.Enum#hashCode(), java.lang.Enum#compareTo(java.lang.Object), java.lang.Enum#compareTo(java.lang.Enum), java.lang.Enum#valueOf(java.lang.Class, java.lang.String), java.lang.Enum#getDeclaringClass(), java.lang.Enum#ordinal(), java.lang.Enum#wait(long, int), java.lang.Enum#wait(long), java.lang.Enum#wait(), java.lang.Enum#getClass(), java.lang.Enum#notify(), java.lang.Enum#notifyAll() |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Obtain a header instance for the given name
name
- The name