| Package | Description |
|---|---|
| org.glassfish.grizzly.http | |
| org.glassfish.grizzly.http.util |
| Modifier and Type | Method and Description |
|---|---|
void |
MimeHeadersPacket.addHeader(Header header,
HeaderValue value)
Add the HTTP mime header.
|
void |
HttpTrailer.addHeader(Header header,
HeaderValue value)
Add the HTTP mime header.
|
void |
HttpHeader.addHeader(Header header,
HeaderValue value)
Add the HTTP mime header.
|
void |
MimeHeadersPacket.addHeader(Header header,
String value)
Add the HTTP mime header.
|
void |
HttpTrailer.addHeader(Header header,
String value)
Add the HTTP mime header.
|
void |
HttpHeader.addHeader(Header header,
String value)
Add the HTTP mime header.
|
boolean |
MimeHeadersPacket.containsHeader(Header header)
Returns true, if the mime
Header is present
among the HttpHeader mime headers, otherwise returns false. |
boolean |
HttpTrailer.containsHeader(Header header)
Returns true, if the mime
Header is present
among the HttpHeader mime headers, otherwise returns false. |
boolean |
HttpHeader.containsHeader(Header header)
Returns true, if the mime
Header is present
among the HttpHeader mime headers, otherwise returns false. |
String |
MimeHeadersPacket.getHeader(Header header)
Get the value, of the specific HTTP mime header.
|
String |
HttpTrailer.getHeader(Header header)
Get the value, of the specific HTTP mime header.
|
String |
HttpHeader.getHeader(Header header)
Get the value, of the specific HTTP mime header.
|
T |
HttpHeader.Builder.header(Header header,
String value)
Add the HTTP mime header.
|
T |
HttpHeader.Builder.removeHeader(Header header)
Remove the specified header from this builder.
|
void |
MimeHeadersPacket.setHeader(Header header,
HeaderValue value)
Set the value, of the specific HTTP mime header.
|
void |
HttpTrailer.setHeader(Header header,
HeaderValue value)
Set the value, of the specific HTTP mime header.
|
void |
HttpHeader.setHeader(Header header,
HeaderValue value)
Set the value, of the specific HTTP mime header.
|
void |
MimeHeadersPacket.setHeader(Header header,
String value)
Set the value, of the specific HTTP mime header.
|
void |
HttpTrailer.setHeader(Header header,
String value)
Set the value, of the specific HTTP mime header.
|
void |
HttpHeader.setHeader(Header header,
String value)
Set the value, of the specific HTTP mime header.
|
| Modifier and Type | Method and Description |
|---|---|
static Header |
Header.find(String name)
Attempts to find a HTTP header by it's standard textual definition which
may differ from value value returned by
Enum.name. |
static Header |
Header.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Header[] |
Header.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
DataChunk |
MimeHeaders.addValue(Header header)
Create a new named header , return the MessageBytes
container for the new value
|
boolean |
MimeHeaders.contains(Header header) |
String |
MimeHeaders.getHeader(Header header) |
DataChunk |
MimeHeaders.getValue(Header header)
Finds and returns a header field with the given name.
|
int |
MimeHeaders.indexOf(Header header,
int fromIndex)
Find the index of a header with the given name.
|
void |
MimeHeaders.removeHeader(Header header) |
void |
MimeHeaders.removeHeaderMatches(Header header,
String regex)
Removes the headers with the given name whose values contain the
given string.
|
DataChunk |
MimeHeaders.setValue(Header header)
Allow "set" operations -
return a DataChunk container for the
header value ( existing header or new
if this .
|
Iterable<String> |
MimeHeaders.values(Header name) |
Copyright © 2017 Oracle Corporation. All Rights Reserved.