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

com.shapesecurity.salvation.directives.SandboxDirective Maven / Gradle / Ivy

Go to download

Parse Content Security Policy headers, warn about policy errors, safely manipulate, render, and optimise policies

The newest version!
package com.shapesecurity.salvation.directives;

import com.shapesecurity.salvation.directiveValues.RFC7230Token;

import javax.annotation.Nonnull;
import java.util.Set;

public class SandboxDirective extends Directive {
	@Nonnull
	private static final String NAME = "sandbox";

	public SandboxDirective(@Nonnull Set values) {
		super(SandboxDirective.NAME, values);
	}

	@Nonnull
	@Override
	public Directive construct(Set newValues) {
		return new SandboxDirective(newValues);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy