org.opentripplanner.standalone.api.HttpRequestScoped Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
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