org.safehaus.jettyjam.utils.JettyContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jettyjam-utils Show documentation
Show all versions of jettyjam-utils Show documentation
A set of utilities used to setup embedded launchers and test with Jetty.
package org.safehaus.jettyjam.utils;
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;
/**
* An annotation containing various directives to configure JettyContext.
*/
@Retention( RetentionPolicy.RUNTIME )
@Target( { ElementType.FIELD, ElementType.TYPE } )
@Inherited
public @interface JettyContext {
String contextRoot() default "/";
boolean enableSession() default false;
ServletMapping[] servletMappings() default {};
FilterMapping[] filterMappings() default {};
ContextListener[] contextListeners() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy