Class Printer


  • public class Printer
    extends java.lang.Object
    Displays error and debug information.
    • Constructor Summary

      Constructors 
      Constructor Description
      Printer()  
    • Method Summary

      Modifier and Type Method Description
      static void printData​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String state, java.lang.String nonce, TokenData tokenData, IdToken idToken)
      Displays debug information.
      static void printError​(javax.servlet.http.HttpServletResponse response, java.lang.String errorMessage)
      Displays error information.
      • Methods inherited from class java.lang.Object

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

      • Printer

        public Printer()
    • Method Detail

      • printError

        public static void printError​(javax.servlet.http.HttpServletResponse response,
                                      java.lang.String errorMessage)
                               throws java.io.IOException
        Displays error information.
        Parameters:
        response - the http servlet response
        errorMessage - the error message
        Throws:
        java.io.IOException - An exception was encountered when displaying the error information
      • printData

        public static void printData​(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response,
                                     java.lang.String state,
                                     java.lang.String nonce,
                                     TokenData tokenData,
                                     IdToken idToken)
                              throws java.io.IOException
        Displays debug information.
        Parameters:
        request - the http servlet request
        response - the http servlet response
        state - the state
        nonce - the nonce
        tokenData - the token data
        idToken - the id token
        Throws:
        java.io.IOException - An exception was encountered when displaying the debug information