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

org.opendaylight.aaa.web.ServletDetails Maven / Gradle / Ivy

There is a newer version: 0.20.1
Show newest version
/*
 * Copyright (c) 2018 Red Hat, Inc. and others. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.aaa.web;

import java.util.List;
import java.util.Map;
import javax.servlet.Servlet;
import org.immutables.value.Value;
import org.immutables.value.Value.Default;

/**
 * Details about a {@link Servlet}.
 *
 * @author Michael Vorburger.ch
 */
@Value.Immutable
@Value.Style(visibility = Value.Style.ImplementationVisibility.PRIVATE, depluralize = true)
public interface ServletDetails {

    static ServletDetailsBuilder builder() {
        return new ServletDetailsBuilder();
    }

    Servlet servlet();

    @Default default String name() {
        return servlet().getClass().getName();
    }

    List urlPatterns();

    Map initParams();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy