Uses of Class
org.eclipse.jetty.http.HttpField
Packages that use HttpField
Package
Description
Jetty Http : Tools for Http processing
-
Uses of HttpField in org.eclipse.jetty.http
Subclasses of HttpField in org.eclipse.jetty.httpModifier and TypeClassDescriptionclassAn HttpField holding a preparsed Host and port numberstatic classA specializedHttpFieldwhose value is anint.static classA specializedHttpFieldwhose value is along.classPre encoded HttpField.Fields in org.eclipse.jetty.http declared as HttpFieldModifier and TypeFieldDescriptionstatic final HttpFieldHttpFields.CONNECTION_CLOSEA constantHttpFieldfor the HTTP header:static final HttpFieldHttpFields.CONNECTION_KEEPALIVEA constantHttpFieldfor the HTTP header:static final HttpFieldHttpFields.CONTENT_LENGTH_0A constantHttpFieldfor the HTTP header:static final HttpFieldHttpFields.EXPIRES_01JAN1970A constantHttpFieldfor the HTTP header:Fields in org.eclipse.jetty.http with type parameters of type HttpFieldModifier and TypeFieldDescriptionstatic final org.eclipse.jetty.util.Index<HttpField> HttpParser.CACHECache of commonHttpFields including: Common static combinations such as: Connection: close Accept-Encoding: gzip Content-Length: 0 Combinations of Content-Type header for common mime types by common charsets Most common headers with null values so that a lookup will at least determine the header name even if the name:value combination is not cachedMethods in org.eclipse.jetty.http that return HttpFieldModifier and TypeMethodDescriptionstatic HttpFieldEtagUtils.createWeakEtagField(org.eclipse.jetty.util.resource.Resource resource) Create a newHttpFieldHttpHeader.ETAGfield suitable to represent the provided Resource.static HttpFieldEtagUtils.createWeakEtagField(org.eclipse.jetty.util.resource.Resource resource, String etagSuffix) Create a newHttpFieldHttpHeader.ETAGfield suitable to represent the provided Resource.CompressedContentFormat.getContentEncoding()MimeTypes.Type.getContentTypeField()MimeTypes.Type.getContentTypeField(Charset charset) default HttpFieldHttpFields.getField(int index) default HttpFieldReturns the firstHttpFieldwith the given field name, ornullif no such field is present.default HttpFieldHttpFields.getField(HttpHeader header) Returns the firstHttpFieldwith the given field name, ornullif no such field is present.HttpFields.Mutable.Wrapper.onAddField(HttpField field) Called when a field is added (including as part of a put).HttpFields.Mutable.Wrapper.onReplaceField(HttpField oldField, HttpField newField) Methods in org.eclipse.jetty.http that return types with arguments of type HttpFieldModifier and TypeMethodDescriptionorg.eclipse.jetty.util.Index<HttpField> HttpParser.getFieldCache()Returns all theHttpFields with the given field name.HttpFields.getFields(HttpHeader header) Returns all theHttpFields with the given field name.HttpFields.iterator()MetaData.iterator()default ListIterator<HttpField> HttpFields.listIterator()HttpFields.listIterator(int index) HttpFields.Mutable.Wrapper.listIterator(int index) HttpFields.Mutable.Wrapper.stream()HttpFields.stream()Methods in org.eclipse.jetty.http with parameters of type HttpFieldModifier and TypeMethodDescriptiondefault HttpFields.MutableAdds the givenHttpFieldto this instance.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 booleanReturns whether this instance contains the givenHttpField.default voidHttpFields.Mutable.ensureField(HttpField field) Ensures that the givenHttpFieldis present when the field may not exist or may exist and be multi-valued.static HttpFieldsReturns an immutableHttpFieldsinstance containing the givenHttpFields.booleanHttpField.isSameName(HttpField field) Returns whether this field has the same name as the given field.HttpFields.Mutable.Wrapper.onAddField(HttpField field) Called when a field is added (including as part of a put).booleanHttpFields.Mutable.Wrapper.onRemoveField(HttpField field) Called when a field is removed (including as part of a put).HttpFields.Mutable.Wrapper.onReplaceField(HttpField oldField, HttpField newField) voidHttpParser.HttpHandler.parsedHeader(HttpField field) This is the method called by parser when an HTTP Header name and value is foundvoidHttpTester.Message.parsedHeader(HttpField field) default voidHttpParser.HttpHandler.parsedTrailer(HttpField field) This is the method called by parser when an HTTP Trailer name and value is founddefault HttpFields.MutablePuts the givenHttpFieldinto this instance.static voidHttpGenerator.putTo(HttpField field, ByteBuffer bufferInFillMode) Method parameters in org.eclipse.jetty.http with type arguments of type HttpFieldModifier and TypeMethodDescriptiondefault 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(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.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.Constructors in org.eclipse.jetty.http with parameters of type HttpFieldModifierConstructorDescriptionprotectedImmutableHttpFields(HttpField[] fields, int size) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of HttpField in org.eclipse.jetty.http.content
Methods in org.eclipse.jetty.http.content that return HttpFieldModifier and TypeMethodDescriptionCachingHttpContentFactory.NotFoundHttpContent.getContentEncoding()HttpContent.getContentEncoding()HttpContent.Wrapper.getContentEncoding()PreCompressedHttpContent.getContentEncoding()ResourceHttpContent.getContentEncoding()CachingHttpContentFactory.CachedHttpContent.getContentLength()CachingHttpContentFactory.NotFoundHttpContent.getContentLength()HttpContent.getContentLength()HttpContent.Wrapper.getContentLength()PreCompressedHttpContent.getContentLength()ResourceHttpContent.getContentLength()CachingHttpContentFactory.NotFoundHttpContent.getContentType()HttpContent.getContentType()HttpContent.Wrapper.getContentType()PreCompressedHttpContent.getContentType()ResourceHttpContent.getContentType()CachingHttpContentFactory.CachedHttpContent.getETag()CachingHttpContentFactory.NotFoundHttpContent.getETag()HttpContent.getETag()HttpContent.Wrapper.getETag()PreCompressedHttpContent.getETag()ResourceHttpContent.getETag()CachingHttpContentFactory.CachedHttpContent.getLastModified()CachingHttpContentFactory.NotFoundHttpContent.getLastModified()HttpContent.getLastModified()HttpContent.Wrapper.getLastModified()PreCompressedHttpContent.getLastModified()ResourceHttpContent.getLastModified()