Class HttpExtension

java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.gcube.smartgears.extensions.HttpExtension
All Implemented Interfaces:
jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, Serializable, ApplicationExtension
Direct Known Subclasses:
ApiResource, HttpController

public abstract class HttpExtension extends jakarta.servlet.http.HttpServlet implements ApplicationExtension
An ApplicationExtension that implements the HttpServlet interface
Author:
Fabio Simeoni
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Enumeration of HTTP methods.
  • Field Summary

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
     
    HttpExtension(String name, String mapping)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the set of request paths that should be excluded from request management.
    final void
     
    void
    Initialises the extensions with the context of the application.
    Returns the mapping of this extension.
    void
    mapping(String mapping)
     
    Returns the name of this extension.
    void
    name(String name)
     
    void
    Stops the extension and releases any resources.

    Methods inherited from class jakarta.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, service

    Methods inherited from class jakarta.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.servlet.Servlet

    destroy, getServletConfig, getServletInfo, init, service
  • Constructor Details

    • HttpExtension

      protected HttpExtension()
    • HttpExtension

      public HttpExtension(String name, String mapping)
  • Method Details