Record Class Http2AccessLogManager.Factory
java.lang.Object
java.lang.Record
io.micronaut.http.server.netty.handler.accesslog.Http2AccessLogManager.Factory
- Record Components:
logger- the loggerspec- the pecuriInclusion- the uri inclusion
- Enclosing class:
- Http2AccessLogManager
public static record Http2AccessLogManager.Factory(org.slf4j.Logger logger, String spec, Predicate<String> uriInclusion)
extends Record
The factory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.org.slf4j.Loggerlogger()Returns the value of theloggerrecord component.spec()Returns the value of thespecrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuriInclusionrecord component.
-
Constructor Details
-
Factory
Creates an instance of aFactoryrecord class.- Parameters:
logger- the value for theloggerrecord componentspec- the value for thespecrecord componenturiInclusion- the value for theuriInclusionrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
logger
public org.slf4j.Logger logger()Returns the value of theloggerrecord component.- Returns:
- the value of the
loggerrecord component
-
spec
Returns the value of thespecrecord component.- Returns:
- the value of the
specrecord component
-
uriInclusion
Returns the value of theuriInclusionrecord component.- Returns:
- the value of the
uriInclusionrecord component
-