Record Class ErrorHandler.ErrorPageMapper.ErrorPage
java.lang.Object
java.lang.Record
org.eclipse.jetty.ee10.servlet.ErrorHandler.ErrorPageMapper.ErrorPage
- Enclosing interface:
 ErrorHandler.ErrorPageMapper
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncause()Returns the value of thecauserecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.Returns the value of theerrorPagerecord component.final inthashCode()Returns a hash code value for this object.match()Returns the value of thematchrecord component.Class<?> Returns the value of thematchedClassrecord component.final StringtoString()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 aErrorPagerecord class.- Parameters:
 errorPage- the value for theerrorPagerecord componentmatch- the value for thematchrecord componenterror- the value for theerrorrecord componentcause- the value for thecauserecord componentmatchedClass- the value for thematchedClassrecord 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 theerrorPagerecord component.- Returns:
 - the value of the 
errorPagerecord component 
 - 
match
Returns the value of thematchrecord component.- Returns:
 - the value of the 
matchrecord component 
 - 
error
Returns the value of theerrorrecord component.- Returns:
 - the value of the 
errorrecord component 
 - 
cause
Returns the value of thecauserecord component.- Returns:
 - the value of the 
causerecord component 
 - 
matchedClass
Returns the value of thematchedClassrecord component.- Returns:
 - the value of the 
matchedClassrecord component 
 
 -