Modifier and Type | Method and Description |
---|---|
void |
HttpTrailer.addHeader(Header header,
HeaderValue value)
Add the HTTP mime header.
|
void |
MimeHeadersPacket.addHeader(Header header,
HeaderValue value)
Add the HTTP mime header.
|
void |
HttpHeader.addHeader(Header header,
HeaderValue value)
Add the HTTP mime header.
|
void |
HttpTrailer.addHeader(Header header,
String value)
Add the HTTP mime header.
|
void |
MimeHeadersPacket.addHeader(Header header,
String value)
Add the HTTP mime header.
|
void |
HttpHeader.addHeader(Header header,
String value)
Add the HTTP mime header.
|
boolean |
HttpTrailer.containsHeader(Header header)
Returns true, if the mime
Header is present
among the HttpHeader mime headers, otherwise returns false. |
boolean |
MimeHeadersPacket.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 |
HttpTrailer.getHeader(Header header)
Get the value, of the specific HTTP mime header.
|
String |
MimeHeadersPacket.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.
|
protected String |
HttpHeader.handleGetSpecialHeader(Header header) |
protected boolean |
HttpHeader.handleSetSpecialHeaders(Header header,
HeaderValue value) |
protected boolean |
HttpHeader.handleSetSpecialHeaders(Header header,
String value) |
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 |
HttpTrailer.setHeader(Header header,
HeaderValue value)
Set the value, of the specific HTTP mime header.
|
void |
MimeHeadersPacket.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 |
HttpTrailer.setHeader(Header header,
String 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 |
HttpHeader.setHeader(Header header,
String value)
Set the value, of the specific HTTP mime header.
|
Modifier and Type | Method and Description |
---|---|
String |
MultipartEntry.getHeader(Header header)
Get the multipart entry header value.
|
Modifier and Type | Method and Description |
---|---|
void |
Response.addDateHeader(Header header,
long value)
Add the specified date header to the specified value.
|
void |
Response.addHeader(Header header,
HeaderValue value)
Add the specified header to the specified value.
|
void |
Response.addHeader(Header header,
String value)
Add the specified header to the specified value.
|
void |
Response.addIntHeader(Header header,
int value)
Add the specified integer header to the specified value.
|
boolean |
Response.containsHeader(Header header)
Has the specified header been set already in this response?
|
long |
Request.getDateHeader(Header header)
Return the value of the specified date header, if any; otherwise
return -1.
|
String |
Request.getHeader(Header header)
Return the first value of the specified header, if any; otherwise,
return
null |
Iterable<String> |
Request.getHeaders(Header header)
Return all of the values of the specified header, if any; otherwise,
return an empty enumeration.
|
int |
Request.getIntHeader(Header header)
Return the value of the specified header as an integer, or -1 if there
is no such header for this request.
|
void |
Response.setDateHeader(Header header,
long value)
Set the specified date header to the specified value.
|
void |
Response.setHeader(Header header,
HeaderValue value)
Set the specified header to the specified value.
|
void |
Response.setHeader(Header header,
String value)
Set the specified header to the specified value.
|
void |
Response.setIntHeader(Header header,
int value)
Set the specified integer header to the specified value.
|
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) |
Modifier and Type | Method and Description |
---|---|
PushResource.PushResourceBuilder |
PushResource.PushResourceBuilder.header(Header name,
String value)
Adds additional header to be pushed.
|
Modifier and Type | Method and Description |
---|---|
CompressedHeadersBuilder |
CompressedHeadersBuilder.header(Header header,
String value)
Add the SPDY/HTTP mime header.
|
Copyright © 2015 Oracle Corporation. All rights reserved.