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
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.org.slf4j.Logger
logger()
Returns the value of thelogger
record component.spec()
Returns the value of thespec
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuriInclusion
record component.
-
Constructor Details
-
Factory
Creates an instance of aFactory
record class.- Parameters:
logger
- the value for thelogger
record componentspec
- the value for thespec
record componenturiInclusion
- the value for theuriInclusion
record 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 thelogger
record component.- Returns:
- the value of the
logger
record component
-
spec
Returns the value of thespec
record component.- Returns:
- the value of the
spec
record component
-
uriInclusion
Returns the value of theuriInclusion
record component.- Returns:
- the value of the
uriInclusion
record component
-