Uses of Enum Class
org.eclipse.jetty.http.HttpHeader
Packages that use HttpHeader
Package
Description
Jetty Server : Core Handler API
Jetty Server : Core Handler API
Jetty Http : Tools for Http processing
-
Uses of HttpHeader in org.eclipse.jetty.client
Methods in org.eclipse.jetty.client that return HttpHeaderModifier and TypeMethodDescriptionprotected abstract HttpHeaderAuthenticationProtocolHandler.getAuthenticateHeader()protected HttpHeaderProxyAuthenticationProtocolHandler.getAuthenticateHeader()protected HttpHeaderWWWAuthenticationProtocolHandler.getAuthenticateHeader()protected abstract HttpHeaderAuthenticationProtocolHandler.getAuthorizationHeader()protected HttpHeaderProxyAuthenticationProtocolHandler.getAuthorizationHeader()protected HttpHeaderWWWAuthenticationProtocolHandler.getAuthorizationHeader()Authentication.HeaderInfo.getHeader()Constructors in org.eclipse.jetty.client with parameters of type HttpHeaderModifierConstructorDescriptionBasicResult(URI uri, HttpHeader header, String user, String password) BasicResult(URI uri, HttpHeader header, String user, String password, Charset charset) HeaderInfo(HttpHeader header, String type, Map<String, String> params) SPNEGOResult(URI uri, HttpHeader header, String token) -
Uses of HttpHeader in org.eclipse.jetty.ee8.nested
Methods in org.eclipse.jetty.ee8.nested with parameters of type HttpHeader -
Uses of HttpHeader in org.eclipse.jetty.ee9.nested
Methods in org.eclipse.jetty.ee9.nested with parameters of type HttpHeader -
Uses of HttpHeader in org.eclipse.jetty.http
Subclasses with type arguments of type HttpHeader in org.eclipse.jetty.httpFields in org.eclipse.jetty.http with type parameters of type HttpHeaderModifier and TypeFieldDescriptionstatic final Index<HttpHeader> HttpHeader.CACHEstatic final EnumSet<HttpHeader> HttpHeader.CONTENT_HEADERSstatic final EnumSet<HttpHeader> HttpHeader.CONTENT_HEADERS_304Methods in org.eclipse.jetty.http that return HttpHeaderModifier and TypeMethodDescriptionHttpField.getHeader()Get theHttpHeaderof this field, ornull.static HttpHeaderReturns the enum constant of this class with the specified name.static HttpHeader[]HttpHeader.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.eclipse.jetty.http with parameters of type HttpHeaderModifier and TypeMethodDescriptiondefault HttpFields.MutableHttpFields.Mutable.add(HttpHeader header, long value) Adds a newHttpFieldwith the given name andlongvalue.default HttpFields.MutableHttpFields.Mutable.add(HttpHeader header, String value) Adds a newHttpFieldwith the given name and string value.default HttpFields.MutableHttpFields.Mutable.add(HttpHeader header, HttpHeaderValue value) Adds a newHttpFieldwith the given name and value.default HttpFields.MutableHttpFields.Mutable.addCSV(HttpHeader header, String... values) Adds the given value(s) to theHttpFieldwith the given name, encoding them as comma-separated if necessary, unless they are already present in existing fields with the same name.default HttpFields.MutableHttpFields.Mutable.computeField(HttpHeader header, BiFunction<HttpHeader, List<HttpField>, HttpField> computeFn) Computes a single field for the givenHttpHeaderand for existing fields with the same header.default booleanHttpFields.contains(HttpHeader header) Returns whether this instance contains the given field name.default booleanHttpFields.contains(HttpHeader header, String value) Returns whether this instance contains the givenHttpHeaderwith the given value.default booleanHttpFields.containsLast(HttpHeader header, String value) Look for a value as the last value in a possible multivalued field.default StringHttpFields.get(HttpHeader header) Returns the encoded value of the first field with the given field name, ornullif no such header is present.HttpFields.getCSV(HttpHeader header, boolean keepQuotes) Returns all the values of all the fields with the given field name.default longHttpFields.getDateField(HttpHeader header) Returns the value of a date field as the number of milliseconds since the Unix Epoch, or -1 if no such field is present.byte[]Http1FieldPreEncoder.getEncodedField(HttpHeader header, String headerString, String value) byte[]HttpFieldPreEncoder.getEncodedField(HttpHeader header, String headerString, String value) default HttpFieldHttpFields.getField(HttpHeader header) Returns the firstHttpFieldwith the given field name, ornullif no such field is present.HttpFields.getFields(HttpHeader header) Returns all theHttpFields with the given field name.default StringHttpFields.getLast(HttpHeader header) Returns the encoded value of the last field with the given field name, ornullif no such header is present.default longHttpFields.getLongField(HttpHeader header) Returns the value of a field as alongvalue, or -1 if no such field is present.HttpFields.getQualityCSV(HttpHeader header) Returns all the values of all the fields with the given name, split and sorted in quality order usingQuotedQualityCSV.HttpFields.getQualityCSV(HttpHeader header, ToIntFunction<String> secondaryOrdering) Returns all the values of all the fields with the given name, split and sorted first in quality order and then optionally further sorted with the given function, usingQuotedQualityCSV.HttpFields.getValuesList(HttpHeader header) Returns a list of the encoded values of all the fields with the given name.static booleanHttpHeaderValue.hasKnownValues(HttpHeader header) default HttpFields.MutableHttpFields.Mutable.put(HttpHeader header, long value) Puts a newHttpFieldwith the given name andlongvalue, with the semantic ofHttpFields.Mutable.put(HttpField).default HttpFields.MutableHttpFields.Mutable.put(HttpHeader header, String value) This method behaves likeHttpFields.Mutable.remove(HttpHeader)when the givenvalueisnull, otherwise behaves likeHttpFields.Mutable.put(HttpField).default HttpFields.MutableHttpFields.Mutable.put(HttpHeader header, HttpHeaderValue value) This method behaves likeHttpFields.Mutable.remove(HttpHeader)when the givenvalueisnull, otherwise behaves likeHttpFields.Mutable.put(HttpField).default HttpFields.MutableHttpFields.Mutable.putDate(HttpHeader name, long date) Puts a new dateHttpFieldwith the given name anddatevalue, with the semantic ofHttpFields.Mutable.put(HttpField).default HttpFields.MutableHttpFields.Mutable.remove(HttpHeader header) Removes all the fields with the given name.Method parameters in org.eclipse.jetty.http with type arguments of type HttpHeaderModifier and TypeMethodDescriptionstatic HttpFields.MutableHttpFields.build(HttpFields fields, EnumSet<HttpHeader> removeFields) Returns a newHttpFields.Mutableinstance containing a copy of all theHttpFields of the givenHttpFields, removing theHttpFields with the given names.default HttpFields.MutableHttpFields.Mutable.computeField(HttpHeader header, BiFunction<HttpHeader, List<HttpField>, HttpField> computeFn) Computes a single field for the givenHttpHeaderand for existing fields with the same header.default booleanHttpFields.contains(EnumSet<HttpHeader> headers) Returns whether this instance contains at least one of the given field names.default HttpFields.MutableHttpFields.Mutable.remove(EnumSet<HttpHeader> headers) Removes all the fields with the given names.Constructors in org.eclipse.jetty.http with parameters of type HttpHeaderModifierConstructorDescriptionprotectedHostPortHttpField(HttpHeader header, String name, String authority) HostPortHttpField(HttpHeader header, String headerString, HostPort hostport) HttpField(HttpHeader header, String value) Creates a newHttpFieldwith the givenHttpHeaderand value string.HttpField(HttpHeader header, String name, String value) Creates a newHttpFieldwith the givenHttpHeader, name string and value string.HttpField(HttpHeader header, HttpHeaderValue value) Creates a newHttpFieldwith the givenHttpHeaderand value.IntValueHttpField(HttpHeader header, int value) IntValueHttpField(HttpHeader header, String name, int intValue) IntValueHttpField(HttpHeader header, String name, String value) IntValueHttpField(HttpHeader header, String name, String value, int intValue) LongValueHttpField(HttpHeader header, long value) LongValueHttpField(HttpHeader header, String name, long value) LongValueHttpField(HttpHeader header, String name, String value) LongValueHttpField(HttpHeader header, String name, String value, long longValue) PreEncodedHttpField(HttpHeader header, long value) PreEncodedHttpField(HttpHeader header, String value) PreEncodedHttpField(HttpHeader header, String name, String value) -
Uses of HttpHeader in org.eclipse.jetty.http.tools.matchers
Methods in org.eclipse.jetty.http.tools.matchers with parameters of type HttpHeaderModifier and TypeMethodDescriptionstatic org.hamcrest.Matcher<HttpFields> HttpFieldsMatchers.containsHeader(HttpHeader header) static org.hamcrest.Matcher<HttpFields> HttpFieldsMatchers.containsHeaderValue(HttpHeader header, String value) Constructors in org.eclipse.jetty.http.tools.matchers with parameters of type HttpHeaderModifierConstructorDescriptionHttpFieldsContainsHeaderValue(HttpHeader header, String value) HttpFieldsHeaderValue(HttpHeader header, String value) -
Uses of HttpHeader in org.eclipse.jetty.http2.hpack
Methods in org.eclipse.jetty.http2.hpack with parameters of type HttpHeaderModifier and TypeMethodDescriptionHpackContext.get(HttpHeader header) byte[]HpackFieldPreEncoder.getEncodedField(HttpHeader header, String name, String value) static HpackContext.EntryHpackContext.getStatic(HttpHeader header) static intHpackContext.staticIndex(HttpHeader header) -
Uses of HttpHeader in org.eclipse.jetty.http3.qpack
Fields in org.eclipse.jetty.http3.qpack with type parameters of type HttpHeaderModifier and TypeFieldDescriptionstatic final EnumSet<HttpHeader> QpackEncoder.DO_NOT_HUFFMANstatic final EnumSet<HttpHeader> QpackEncoder.DO_NOT_INDEXstatic final EnumSet<HttpHeader> QpackEncoder.NEVER_INDEXMethods in org.eclipse.jetty.http3.qpack with parameters of type HttpHeaderModifier and TypeMethodDescriptionbyte[]QpackFieldPreEncoder.getEncodedField(HttpHeader header, String name, String value)