Class RequestProtocolElementBuilder

  • All Implemented Interfaces:
    io.micronaut.core.order.Ordered, LogElementBuilder

    public final class RequestProtocolElementBuilder
    extends java.lang.Object
    implements LogElementBuilder
    Builder for RequestProtocolElement.
    Since:
    2.0
    • Field Summary

      • Fields inherited from interface io.micronaut.core.order.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LogElement build​(java.lang.String token, java.lang.String param)
      Builds the log element for the specified token.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.micronaut.core.order.Ordered

        getOrder
    • Constructor Detail

      • RequestProtocolElementBuilder

        public RequestProtocolElementBuilder()
    • Method Detail

      • build

        public LogElement build​(java.lang.String token,
                                java.lang.String param)
        Description copied from interface: LogElementBuilder
        Builds the log element for the specified token. It should return null it the token is not supported.
        Specified by:
        build in interface LogElementBuilder
        Parameters:
        token - The log element marker.
        param - An optional paramter.
        Returns:
        A LogElement or null if not supported by the builder.