Interface RequestLogger


public interface RequestLogger
Logger which can be injected, which takes care of actually logging each request and response.
Author:
Tim Boudreau
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final RequestLogger
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onBeforeEvent(com.mastfrog.acteur.util.RequestID rid, Event<?> event)
     
    void
    onRespond(com.mastfrog.acteur.util.RequestID rid, Event<?> event, io.netty.handler.codec.http.HttpResponseStatus status)
     
  • Field Details

  • Method Details

    • onBeforeEvent

      default void onBeforeEvent(com.mastfrog.acteur.util.RequestID rid, Event<?> event)
    • onRespond

      void onRespond(com.mastfrog.acteur.util.RequestID rid, Event<?> event, io.netty.handler.codec.http.HttpResponseStatus status)