Record Class SSIServletExternalResolver.ServletContextAndPath
java.lang.Object
java.lang.Record
org.apache.catalina.ssi.SSIServletExternalResolver.ServletContextAndPath
- Enclosing class:
- SSIServletExternalResolver
protected static record SSIServletExternalResolver.ServletContextAndPath(ServletContext servletContext, String path)
extends Record
- Author:
- Dan Sandberg, David Becker
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedServletContextAndPath(ServletContext servletContext, String path) Creates an instance of aServletContextAndPathrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getPath()final inthashCode()Returns a hash code value for this object.path()Returns the value of thepathrecord component.Returns the value of theservletContextrecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
ServletContextAndPathCreates an instance of aServletContextAndPathrecord class.- Parameters:
- servletContext- the value for the- servletContextrecord component
- path- the value for the- pathrecord component
 
 
- 
- 
Method Details- 
getServletContext
- 
getPath
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
servletContextReturns the value of theservletContextrecord component.- Returns:
- the value of the servletContextrecord component
 
- 
pathReturns the value of thepathrecord component.- Returns:
- the value of the pathrecord component
 
 
-