com.pastdev.httpcomponents.annotations.Servlet Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of server Show documentation
Show all versions of server Show documentation
A set of interfaces and factories for building servers.
The newest version!
package com.pastdev.httpcomponents.annotations;
import com.pastdev.httpcomponents.annotations.naming.ServletContextResources;
import com.pastdev.httpcomponents.factory.ConfigurableObjectFactory;
import com.pastdev.httpcomponents.factory.ServletFactory;
public @interface Servlet {
public Configuration configuration() default @Configuration;
public Class extends ServletFactory> factory() default ConfigurableObjectFactory.class;
public FactoryParam[] factoryParams() default {};
public Param[] initParams() default {};
public ServletMapping mapping() default @ServletMapping( urlPatterns = "/*" );
public String name();
public ServletContextResources namingResources() default @ServletContextResources;
public Class extends javax.servlet.Servlet> type();
}