All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.dropwizard.request.logging.RequestLogFactory Maven / Gradle / Ivy

There is a newer version: 5.0.0-alpha.2
Show newest version
package io.dropwizard.request.logging;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import io.dropwizard.jackson.Discoverable;
import org.eclipse.jetty.server.RequestLog;

/**
 * A service provider interface for creating a Jetty {@link RequestLog}
 *
 * @param  type of a {@link RequestLog} implementation
 */
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type", defaultImpl = LogbackAccessRequestLogFactory.class)
public interface RequestLogFactory extends Discoverable {

    boolean isEnabled();

    T build(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy