Record Class ErrorHandler.ErrorPageMapper.ErrorPage
java.lang.Object
java.lang.Record
org.eclipse.jetty.ee11.servlet.ErrorHandler.ErrorPageMapper.ErrorPage
- Enclosing interface:
ErrorHandler.ErrorPageMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncause()
Returns the value of thecause
record component.final boolean
Indicates whether some other object is "equal to" this one.error()
Returns the value of theerror
record component.Returns the value of theerrorPage
record component.final int
hashCode()
Returns a hash code value for this object.match()
Returns the value of thematch
record component.Class
<?> Returns the value of thematchedClass
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
ErrorPage
public ErrorPage(String errorPage, ErrorHandler.ErrorPageMapper.PageLookupTechnique match, Throwable error, Throwable cause, Class<?> matchedClass) Creates an instance of aErrorPage
record class.- Parameters:
errorPage
- the value for theerrorPage
record componentmatch
- the value for thematch
record componenterror
- the value for theerror
record componentcause
- the value for thecause
record componentmatchedClass
- the value for thematchedClass
record component
-
-
Method Details
-
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)
. -
errorPage
Returns the value of theerrorPage
record component.- Returns:
- the value of the
errorPage
record component
-
match
Returns the value of thematch
record component.- Returns:
- the value of the
match
record component
-
error
Returns the value of theerror
record component.- Returns:
- the value of the
error
record component
-
cause
Returns the value of thecause
record component.- Returns:
- the value of the
cause
record component
-
matchedClass
Returns the value of thematchedClass
record component.- Returns:
- the value of the
matchedClass
record component
-