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

org.rootservices.otter.router.factory.BetweenFlyweight Maven / Gradle / Ivy

The newest version!
package org.rootservices.otter.router.factory;


import org.rootservices.otter.gateway.entity.Label;
import org.rootservices.otter.router.entity.between.Between;
import org.rootservices.otter.router.entity.Method;
import org.rootservices.otter.security.builder.entity.Betweens;

import java.util.ArrayList;
import java.util.List;
import java.util.Optional;


public class BetweenFlyweight {
    private Betweens csrfPrepare;
    private Betweens csrfProtect;
    private Betweens sessionRequired;
    private Betweens sessionOptional;

    private Optional> authRequired;
    private Optional> authOptional;

    public BetweenFlyweight(Betweens csrfPrepare, Betweens csrfProtect, Betweens sessionRequired, Betweens sessionOptional, Optional> authRequired, Optional> authOptional) {
        this.csrfPrepare = csrfPrepare;
        this.csrfProtect = csrfProtect;
        this.sessionRequired = sessionRequired;
        this.sessionOptional = sessionOptional;
        this.authRequired = authRequired;
        this.authOptional = authOptional;
    }

    public Betweens make(Method method, List




© 2015 - 2025 Weber Informatics LLC | Privacy Policy