Package de.xima.fc.servlet.handler
Class EnumServletHandler
- java.lang.Object
-
- de.xima.fc.servlet.handler.EnumServletHandler
-
- All Implemented Interfaces:
IEnumServletAction
@Deprecated public class EnumServletHandler extends Object implements IEnumServletAction
Deprecated.This is part of the old rest API. Use the new API when it becomes available.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description EnumServletHandler()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
delete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass)
Deprecated.void
get(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass)
Deprecated.Zum Auslesen von konkreten Enum-Werten.void
post(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass)
Deprecated.void
put(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass)
Deprecated.
-
-
-
Method Detail
-
get
public void get(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass) throws IOException
Deprecated.Zum Auslesen von konkreten Enum-Werten. Das Ergebnis richtet sich nach dem Namen, welches Servlet gerufen wurde. Zum Beispiel: .../servlet/anrede Über den Filter-Parameter können aus Enums bestimmte Werte ausgelesen. Diese werden als Array in der KlasseEnumHandlerRestriction
festgelegt.- Specified by:
get
in interfaceIEnumServletAction
- Parameters:
req
- HttpServletRequestresp
- HttpServletResponseenumClass
- konkrete Enum-Klasse- Throws:
IOException
-
post
public void post(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass) throws IOException
Deprecated.- Specified by:
post
in interfaceIEnumServletAction
- Throws:
IOException
-
put
public void put(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass) throws IOException
Deprecated.- Specified by:
put
in interfaceIEnumServletAction
- Throws:
IOException
-
delete
public void delete(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Class<Enum> enumClass) throws IOException
Deprecated.- Specified by:
delete
in interfaceIEnumServletAction
- Throws:
IOException
-
-