Class XServletHandlerTRACE

  • All Implemented Interfaces:
    IXServletBasicHandler, IXServletHandler

    public class XServletHandlerTRACE
    extends Object
    implements IXServletHandler
    Called by the server (via the service method) to allow a servlet to handle a TRACE request. A TRACE returns the headers sent with the TRACE request to the client, so that they can be used in debugging. There's no need to override this method.
    Since:
    9.0.0
    Author:
    Servlet Spec 3.1
    • Constructor Detail

      • XServletHandlerTRACE

        public XServletHandlerTRACE()
    • Method Detail

      • onRequest

        public void onRequest​(@Nonnull
                              javax.servlet.http.HttpServletRequest aHttpRequest,
                              @Nonnull
                              javax.servlet.http.HttpServletResponse aHttpResponse,
                              @Nonnull
                              com.helger.http.EHttpVersion eHTTPVersion,
                              @Nonnull
                              com.helger.commons.http.EHttpMethod eHTTPMethod,
                              @Nonnull
                              com.helger.web.scope.IRequestWebScope aRequestScope)
                       throws javax.servlet.ServletException,
                              IOException
        Description copied from interface: IXServletHandler
        Handle the servlet action for a certain request and response.
        Specified by:
        onRequest in interface IXServletHandler
        Parameters:
        aHttpRequest - HTTP servlet request. Never null.
        aHttpResponse - HTTP servlet response. Never null.
        eHTTPVersion - HTTP version. Never null.
        eHTTPMethod - HTTP method. Never null.
        aRequestScope - Request scope. Never null.
        Throws:
        javax.servlet.ServletException - On business error
        IOException - On IO error