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

com.nimbusds.oauth2.sdk.auth.verifier.Context Maven / Gradle / Ivy

package com.nimbusds.oauth2.sdk.auth.verifier;


import net.jcip.annotations.ThreadSafe;


/**
 * Generic context for passing objects.
 */
@ThreadSafe
public class Context {


	/**
	 * The context content.
	 */
	private T o;


	/**
	 * Sets the context content.
	 *
	 * @param o The context content.
	 */
	public void set(final T o) {

		this.o = o;
	}


	/**
	 * Gets the context content.
	 *
	 * @return The context content.
	 */
	public T get() {

		return o;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy