Package ca.ubc.ece.flowable.servlets
Class Printer
- java.lang.Object
-
- ca.ubc.ece.flowable.servlets.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.
-
-
-
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 responseerrorMessage
- 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 requestresponse
- the http servlet responsestate
- the statenonce
- the noncetokenData
- the token dataidToken
- the id token- Throws:
java.io.IOException
- An exception was encountered when displaying the debug information
-
-