Class MediaMetadataServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.levigo.jadice.web.conn.server.AbstractDownloadServlet
com.levigo.jadice.web.demo.enterprise.server.ResourceServlet
com.levigo.jadice.web.demo.enterprise.server.MediaMetadataServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
@WebServlet(description="Servlet for downloading JSON files",
displayName="jadice web toolkit JSON file download",
name="jwtJSONDownloadServlet",
urlPatterns="/jwt/json/*")
public class MediaMetadataServlet
extends ResourceServlet
This servlet handles json requests for media metadata.
- See Also:
-
Field Summary
Fields inherited from class com.levigo.jadice.web.demo.enterprise.server.ResourceServlet
fileUploadServiceFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanHandleType(String type) protected voidgetData(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected StringgetResourceIdentifier(String type, String identifier) Methods inherited from class com.levigo.jadice.web.demo.enterprise.server.ResourceServlet
getResourceMethods inherited from class com.levigo.jadice.web.conn.server.AbstractDownloadServlet
doGet, logClientClosedExceptionMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
MediaMetadataServlet
public MediaMetadataServlet()
-
-
Method Details
-
getData
protected void getData(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) throws IndexOutOfBoundsException, IOException - Specified by:
getDatain classAbstractDownloadServlet- Throws:
IndexOutOfBoundsExceptionIOException
-
getResourceIdentifier
- Overrides:
getResourceIdentifierin classResourceServlet
-
canHandleType
- Overrides:
canHandleTypein classResourceServlet
-