Uses of Interface
org.eclipse.jetty.http.HttpFields.Mutable
Packages that use HttpFields.Mutable
-
Uses of HttpFields.Mutable in org.eclipse.jetty.http
Classes in org.eclipse.jetty.http that implement HttpFields.MutableModifier and TypeClassDescriptionstatic classA wrapper ofHttpFieldsinstances.static classDeprecated, for removal: This API element is subject to removal in a future version.static classstatic classstatic classMethods in org.eclipse.jetty.http that return HttpFields.MutableModifier and TypeMethodDescriptiondefault HttpFields.MutableAdds a newHttpFieldwith the given name andlongvalue.default HttpFields.MutableAdds a newHttpFieldwith the given name and string value.default HttpFields.MutableAdds the givenHttpFieldto this instance.default HttpFields.MutableHttpFields.Mutable.add(HttpFields fields) Adds all theHttpFields of the givenHttpFieldsto this instance.default 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.MutableAdds 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.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.addDateField(String name, long date) Adds a new dateHttpFieldwith the given name anddatevalue.static HttpFields.MutableHttpFields.build()Returns an emptyHttpFields.Mutableinstance.static HttpFields.MutableHttpFields.build(int capacity) Returns an emptyHttpFields.Mutableinstance with the given initialcapacity.static HttpFields.MutableHttpFields.build(HttpFields fields) Returns a newHttpFields.Mutableinstance containing a copy of all theHttpFields of the givenHttpFieldsparameter.static 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.static HttpFields.MutableHttpFields.build(HttpFields fields, HttpField replaceField) Returns a newHttpFields.Mutableinstance containing a copy of all theHttpFields of the givenHttpFields, replacing with the givenHttpFieldall the fieldsHttpFields with the same name.default HttpFields.MutableHttpFields.Mutable.clear()Removes all the fields from this instance.HttpFields.Mutable.Wrapper.clear()default HttpFields.MutableHttpFields.Mutable.computeField(String name, BiFunction<String, List<HttpField>, HttpField> computeFn) Computes a single field for the given HTTP field name and for 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 HttpFields.Mutabledefault HttpFields.MutableThis method behaves likeremove(String)when the givenvalueisnull, otherwise behaves likeput(HttpField).default HttpFields.MutableSet a field.default HttpFields.MutablePuts the givenHttpFieldinto this instance.default HttpFields.MutableHttpFields.Mutable.put(HttpHeader header, long value) default HttpFields.MutableHttpFields.Mutable.put(HttpHeader header, String value) This method behaves likeremove(HttpHeader)when the givenvalueisnull, otherwise behaves likeput(HttpField).default HttpFields.MutableHttpFields.Mutable.put(HttpHeader header, HttpHeaderValue value) This method behaves likeremove(HttpHeader)when the givenvalueisnull, otherwise behaves likeput(HttpField).default HttpFields.Mutabledefault HttpFields.MutableHttpFields.Mutable.putDate(HttpHeader name, long date) default HttpFields.MutableRemoves all the fields with the given name.default HttpFields.MutableHttpFields.Mutable.remove(EnumSet<HttpHeader> headers) Removes all the fields with the given names.default HttpFields.MutableHttpFields.Mutable.remove(HttpHeader header) Removes all the fields with the given name.Methods in org.eclipse.jetty.http with parameters of type HttpFields.MutableModifier and TypeMethodDescriptionstatic voidHttpGenerator.putTo(HttpFields.Mutable fields, ByteBuffer bufferInFillMode) Constructors in org.eclipse.jetty.http with parameters of type HttpFields.Mutable