Class Halt


  • public class Halt
    extends java.lang.Object
    Modifies the HTTP response and body based on the provided HaltException.
    • Constructor Summary

      Constructors 
      Constructor Description
      Halt()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void modify​(javax.servlet.http.HttpServletResponse httpResponse, Body body, HaltException halt)
      Modifies the HTTP response and body based on the provided HaltException.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Halt

        public Halt()
    • Method Detail

      • modify

        public static void modify​(javax.servlet.http.HttpServletResponse httpResponse,
                                  Body body,
                                  HaltException halt)
        Modifies the HTTP response and body based on the provided HaltException.
        Parameters:
        httpResponse - The HTTP servlet response
        body - The body content
        halt - The halt exception object