Uses of Class
org.eclipse.jetty.http.HttpCompliance
Package
Description
Jetty Client : Implementation and Core Classes
This package provides APIs, utility classes and an implementation of an asynchronous HTTP client.
Jetty Http : Tools for Http processing
Jetty Server : Core Server API
-
Uses of HttpCompliance in org.eclipse.jetty.client
Modifier and TypeMethodDescriptionHttpClient.getHttpCompliance()
Gets the http compliance mode for parsing http responses.Modifier and TypeMethodDescriptionvoid
HttpClient.setHttpCompliance
(HttpCompliance httpCompliance) Sets the http compliance mode for parsing http responses. -
Uses of HttpCompliance in org.eclipse.jetty.http
Modifier and TypeFieldDescriptionstatic final HttpCompliance
HttpCompliance.LEGACY
A legacy HttpCompliance mode that allows all violations except case-insensitive methods.static final HttpCompliance
HttpCompliance.RFC2616
static final HttpCompliance
HttpCompliance.RFC2616_LEGACY
A legacy HttpCompliance mode that supportsRFC2616
, but that also allows: case-insensitive methods; colons after field names;Transfer-Encoding
withContent-Length
fields; and multipleContent-Length
values.static final HttpCompliance
HttpCompliance.RFC7230
The HttpCompliance mode that supports RFC 7230 with no known violations.static final HttpCompliance
HttpCompliance.RFC7230_LEGACY
A legacy HttpCompliance mode that supportsRFC7230
, but with case-insensitive methods allowed.Modifier and TypeMethodDescriptionstatic HttpCompliance
Create compliance mode from a String description.static HttpCompliance
Get a known compliance mode by name.HttpCompliance.with
(String name, HttpCompliance.Violation... violations) Create a new HttpCompliance mode that includes the passedHttpCompliance.Violation
s.HttpCompliance.without
(String name, HttpCompliance.Violation... violations) Create a new HttpCompliance mode that excludes the passedHttpCompliance.Violation
s.ModifierConstructorDescriptionHttpParser
(HttpParser.RequestHandler handler, int maxHeaderBytes, HttpCompliance compliance) HttpParser
(HttpParser.RequestHandler handler, HttpCompliance compliance) HttpParser
(HttpParser.ResponseHandler handler, int maxHeaderBytes, HttpCompliance compliance) -
Uses of HttpCompliance in org.eclipse.jetty.server
Modifier and TypeMethodDescriptionprotected HttpParser
HttpConnection.newHttpParser
(HttpCompliance compliance) void
HttpConfiguration.setHttpCompliance
(HttpCompliance httpCompliance)