Package com.ocient.auth
Class LandingPages
java.lang.Object
com.ocient.auth.LandingPages
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringGenerates an HTML document encoding the error responsestatic Stringstatic Stringstatic StringThese get functions should be used exclusively for testing This is not neccesarily good practice- but I went on a hunt for 2 weeks when these broke, so please don't use these gets outside of testing invalid input: '<'3static Stringstatic StringsuccessHTML(String message) Generates an HTML document encoding the success response
-
Constructor Details
-
LandingPages
public LandingPages()
-
-
Method Details
-
successHTML
Generates an HTML document encoding the success response- Parameters:
message- the success message- Returns:
- an HTML document
-
errorHTML
Generates an HTML document encoding the error response- Parameters:
details- the error details as key-value pairs- Returns:
- an HTML document
-
getLogoFavicon
These get functions should be used exclusively for testing This is not neccesarily good practice- but I went on a hunt for 2 weeks when these broke, so please don't use these gets outside of testing invalid input: '<'3 -
getLogoPNG
-
getBootstrapCSS
-
getFontsCSS
-