public static class Headers.Entry
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Headers.Entry.Type |
Modifier and Type | Method and Description |
---|---|
int |
getInt()
Return an integer value if the type is INT, otherwise
0 |
long |
getLong()
Return a long value if the type is LONG, otherwise
-1 |
java.lang.String |
getName()
Return the header name.
|
java.lang.String |
getString()
Return the string representation of this entry's value.
|
Headers.Entry.Type |
getType()
Return the header type.
|
java.lang.String |
toString() |
public java.lang.String getString()
STRING
, it is converted to a string as follows:
public long getLong()
-1
public int getInt()
0
public Headers.Entry.Type getType()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved