Record Class WrapperMappingInfo
java.lang.Object
java.lang.Record
org.apache.catalina.mapper.WrapperMappingInfo
- Record Components:
- mapping- The URL pattern
- wrapper- The wrapper for the Servlet
- jspWildCard- Is this a mapping for JSP files?
- resourceOnly- Is this a resource only mapping?
- 
Constructor SummaryConstructorsConstructorDescriptionWrapperMappingInfo(String mapping, Wrapper wrapper, boolean jspWildCard, boolean resourceOnly) Creates an instance of aWrapperMappingInforecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanbooleanbooleanReturns the value of thejspWildCardrecord component.mapping()Returns the value of themappingrecord component.booleanReturns the value of theresourceOnlyrecord component.final StringtoString()Returns a string representation of this record class.wrapper()Returns the value of thewrapperrecord component.
- 
Constructor Details- 
WrapperMappingInfopublic WrapperMappingInfo(String mapping, Wrapper wrapper, boolean jspWildCard, boolean resourceOnly) Creates an instance of aWrapperMappingInforecord class.- Parameters:
- mapping- the value for the- mappingrecord component
- wrapper- the value for the- wrapperrecord component
- jspWildCard- the value for the- jspWildCardrecord component
- resourceOnly- the value for the- resourceOnlyrecord component
 
 
- 
- 
Method Details- 
getMapping
- 
getWrapper
- 
isJspWildCardpublic boolean isJspWildCard()
- 
isResourceOnlypublic boolean isResourceOnly()
- 
toString
- 
hashCode
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes.
- 
mapping
- 
wrapper
- 
jspWildCardpublic boolean jspWildCard()Returns the value of thejspWildCardrecord component.- Returns:
- the value of the jspWildCardrecord component
 
- 
resourceOnlypublic boolean resourceOnly()Returns the value of theresourceOnlyrecord component.- Returns:
- the value of the resourceOnlyrecord component
 
 
-