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

io.gumga.security.ApiOperationTranslator Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
package io.gumga.security;

import javax.servlet.http.HttpServletRequest;

/**
 * Interface para implementação dos métodos onde serão mapeados as chaves de controle das requisições e determinadas URLs
 * @author munif
 */
public interface ApiOperationTranslator {

    default String getOperation(String url, String method) {
        return "NOOP";
    }

    default String getOperation(String url, String method, HttpServletRequest request) {
        return getOperation(url, method);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy