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
-
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.@Nullable org.slf4j.Loggerlogger()Returns the value of theloggerrecord component.@Nullable Stringspec()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
public Factory(@Nullable org.slf4j.Logger logger, @Nullable String spec, @Nullable Predicate<String> uriInclusion) 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
-
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). -
logger
-
spec
-
uriInclusion
Returns the value of theuriInclusionrecord component.- Returns:
- the value of the
uriInclusionrecord component
-