Package com.exedio.cops
Class PropertiesInstanceServlet<P extends Properties>
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.exedio.cops.CopsServlet
-
- com.exedio.cops.PropertiesServlet
-
- com.exedio.cops.PropertiesInstanceServlet<P>
-
- All Implemented Interfaces:
PropertiesServlet.Overridable<P>
,Serializable
,Servlet
,ServletConfig
public abstract class PropertiesInstanceServlet<P extends Properties> extends PropertiesServlet implements PropertiesServlet.Overridable<P>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.exedio.cops.PropertiesServlet
PropertiesServlet.Overridable<P extends Properties>
-
-
Field Summary
-
Fields inherited from class com.exedio.cops.CopsServlet
ENCODING, UTF8
-
-
Constructor Summary
Constructors Constructor Description PropertiesInstanceServlet()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract PropertiesInstance<P>
get()
protected Properties
getProperties()
P
newProperties(Properties.Source source)
void
override(P properties)
-
Methods inherited from class com.exedio.cops.PropertiesServlet
doRequest, getDisplayCaption
-
Methods inherited from class com.exedio.cops.CopsServlet
doGet, doPost, getAuthentication, getResourcesRootPath, init, printException, printException, report, reportException, reportException, suppressPathCheck
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
-
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
-
-
-
Method Detail
-
get
protected abstract PropertiesInstance<P> get()
-
getProperties
protected final Properties getProperties()
- Specified by:
getProperties
in classPropertiesServlet
-
override
public final void override(P properties)
- Specified by:
override
in interfacePropertiesServlet.Overridable<P extends Properties>
-
newProperties
public final P newProperties(Properties.Source source)
- Specified by:
newProperties
in interfacePropertiesServlet.Overridable<P extends Properties>
-
-