-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jetty-12 MetaData cleanup needed #7608
Comments
@gregw cannot be a record as they cannot be subclassed, while Other than that, I would like to get consistent naming, for example
|
This issue has been automatically marked as stale because it has been a |
* Removed unnecessary constructors from MetaData, MetaData.Request and MetaData.Response. * Removed MetaData.Request.getURIString() (available as getHttpURI().toString()). * Renamed MetaData.getFields() -> getHttpFields(), as they can be headers or trailers. * Renamed MetaData.Request.getURI() -> getHttpURI(). * Normalized handling of contentLength, now always -1 (rather than Long.MIN_VALUE) if unknown. * Permutated MetaData.Response constructor parameters to be consistent with MetaData.Request. * MetaData.Request's method and httpURI must be non-null. Signed-off-by: Simone Bordet <[email protected]>
* Removed unnecessary constructors from MetaData, MetaData.Request and MetaData.Response. * Removed MetaData.Request.getURIString() (available as getHttpURI().toString()). * Renamed MetaData.getFields() -> getHttpFields(), as they can be headers or trailers. * Renamed MetaData.Request.getURI() -> getHttpURI(). * Normalized handling of contentLength, now always -1 (rather than Long.MIN_VALUE) if unknown. * Permutated MetaData.Response constructor parameters to be consistent with MetaData.Request. * MetaData.Request's method and httpURI must be non-null. Signed-off-by: Simone Bordet <[email protected]>
Target Jetty version(s)
Jetty-12
Enhancement Description
The MetaData class is badly in need of a clean up:
The text was updated successfully, but these errors were encountered: