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

org.opentripplanner.standalone.api.HttpRequestScoped Maven / Gradle / Ivy

There is a newer version: 2.6.0
Show newest version
package org.opentripplanner.standalone.api;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation to mark methods in the context as request-scoped. There are special constraints
 * that apply to the components returned by these methods. For example access to these methods
 * are not thread safe, because they are lazy-initialized. See {@link OtpServerRequestContext}.
 */
@Target({ ElementType.METHOD, ElementType.TYPE })
@Retention(RetentionPolicy.SOURCE)
@Inherited
public @interface HttpRequestScoped {
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy