protected static final class InternetHeaders.InternetHeader extends Header
An InternetHeader object with a null value is used as a placeholder for headers of that name, to preserve the order of headers. A placeholder InternetHeader object with a name of ":" marks the location in the list of headers where new headers are added by default.
Constructor and Description |
---|
InternetHeaders.InternetHeader(java.lang.String l)
Constructor that takes a line and splits out
the header name.
|
InternetHeaders.InternetHeader(java.lang.String n,
java.lang.String v)
Constructor that takes a header name and value.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue()
Return the "value" part of the header line.
|
public InternetHeaders.InternetHeader(java.lang.String l)
public InternetHeaders.InternetHeader(java.lang.String n, java.lang.String v)
Copyright © 2012 Oracle. All Rights Reserved.