Record Class RewriteEncodingRule.Encoding
java.lang.Object
java.lang.Record
org.eclipse.jetty.rewrite.handler.RewriteEncodingRule.Encoding
- Enclosing class:
RewriteEncodingRule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontentEncodingField
record component.encoding()
Returns the value of theencoding
record component.final boolean
Indicates whether some other object is "equal to" this one.Returns the value of theextension
record component.final int
hashCode()
Returns a hash code value for this object.static RewriteEncodingRule.Encoding
final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
Encoding
Creates an instance of aEncoding
record class.- Parameters:
encoding
- the value for theencoding
record componentextension
- the value for theextension
record componentcontentEncodingField
- the value for thecontentEncodingField
record component
-
-
Method Details
-
of
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
encoding
Returns the value of theencoding
record component.- Returns:
- the value of the
encoding
record component
-
extension
Returns the value of theextension
record component.- Returns:
- the value of the
extension
record component
-
contentEncodingField
Returns the value of thecontentEncodingField
record component.- Returns:
- the value of the
contentEncodingField
record component
-