Uses of Enum Class
org.glassfish.grizzly.http.util.Header
Packages that use Header
Package
Description
-
Uses of Header in org.glassfish.grizzly.http
Methods in org.glassfish.grizzly.http with parameters of type HeaderModifier and TypeMethodDescriptionvoidAdd the HTTP mime header.voidHttpHeader.addHeader(Header header, HeaderValue value) Add the HTTP mime header.voidAdd the HTTP mime header.voidHttpTrailer.addHeader(Header header, HeaderValue value) Add the HTTP mime header.voidAdd the HTTP mime header.voidMimeHeadersPacket.addHeader(Header header, HeaderValue value) Add the HTTP mime header.booleanHttpHeader.containsHeader(Header header) Returns true, if the mimeHeaderis present among the HttpHeader mime headers, otherwise returns false.booleanHttpTrailer.containsHeader(Header header) Returns true, if the mimeHeaderis present among the HttpHeader mime headers, otherwise returns false.booleanMimeHeadersPacket.containsHeader(Header header) Returns true, if the mimeHeaderis present among the HttpHeader mime headers, otherwise returns false.Get the value, of the specific HTTP mime header.Get the value, of the specific HTTP mime header.Get the value, of the specific HTTP mime header.final TAdd the HTTP mime header.final THttpHeader.Builder.removeHeader(Header header) Remove the specified header from this builder.voidSet the value, of the specific HTTP mime header.voidHttpHeader.setHeader(Header header, HeaderValue value) Set the value, of the specific HTTP mime header.voidSet the value, of the specific HTTP mime header.voidHttpTrailer.setHeader(Header header, HeaderValue value) Set the value, of the specific HTTP mime header.voidSet the value, of the specific HTTP mime header.voidMimeHeadersPacket.setHeader(Header header, HeaderValue value) Set the value, of the specific HTTP mime header. -
Uses of Header in org.glassfish.grizzly.http.multipart
Methods in org.glassfish.grizzly.http.multipart with parameters of type Header -
Uses of Header in org.glassfish.grizzly.http.server
Methods in org.glassfish.grizzly.http.server with parameters of type HeaderModifier and TypeMethodDescriptionvoidResponse.addDateHeader(Header header, long value) Add the specified date header to the specified value.voidAdd the specified header to the specified value.voidResponse.addHeader(Header header, HeaderValue value) Add the specified header to the specified value.voidResponse.addIntHeader(Header header, int value) Add the specified integer header to the specified value.booleanResponse.containsHeader(Header header) Has the specified header been set already in this response?longRequest.getDateHeader(Header header) Return the value of the specified date header, if any; otherwise return -1.Return the first value of the specified header, if any; otherwise, returnnullRequest.getHeaders(Header header) Return all of the values of the specified header, if any; otherwise, return an empty enumeration.intRequest.getIntHeader(Header header) Return the value of the specified header as an integer, or -1 if there is no such header for this request.voidResponse.setDateHeader(Header header, long value) Set the specified date header to the specified value.voidSet the specified header to the specified value.voidResponse.setHeader(Header header, HeaderValue value) Set the specified header to the specified value.voidResponse.setIntHeader(Header header, int value) Set the specified integer header to the specified value. -
Uses of Header in org.glassfish.grizzly.http.server.http2
Methods in org.glassfish.grizzly.http.server.http2 with parameters of type HeaderModifier and TypeMethodDescriptionAdd a request header to be used for the push.PushBuilder.removeHeader(Header name) Remove the named request header.Set a request header to be used for the push. -
Uses of Header in org.glassfish.grizzly.http.util
Methods in org.glassfish.grizzly.http.util that return HeaderModifier and TypeMethodDescriptionstatic HeaderAttempts to find a HTTP header by it's standard textual definition which may differ from value value returned byEnum.name.static HeaderReturns the enum constant of this class with the specified name.static Header[]Header.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.glassfish.grizzly.http.util with parameters of type HeaderModifier and TypeMethodDescriptionCreate a new named header , return the MessageBytes container for the new valuebooleanFinds and returns a header field with the given name.intFind the index of a header with the given name.voidMimeHeaders.removeHeader(Header header) voidMimeHeaders.removeHeaderMatches(Header header, String regex) Removes the headers with the given name whose values contain the given string.Allow "set" operations - return a DataChunk container for the header value ( existing header or new if this .MimeHeaders.trailerValues(Header name) -
Uses of Header in org.glassfish.grizzly.http2.frames
Methods in org.glassfish.grizzly.http2.frames with parameters of type HeaderModifier and TypeMethodDescriptionAdd the HTTP mime header.