Class AuthorizationHandler.ResponseRecord

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String content  
      private java.lang.String type  
    • Constructor Summary

      Constructors 
      Constructor Description
      ResponseRecord​(java.lang.String content, java.lang.String type)
      Create a new record
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String content()
      Get the content for the response
      java.lang.String type()
      Get the type for the response
      • Methods inherited from class java.lang.Object

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

      • content

        private final java.lang.String content
      • type

        private final java.lang.String type
    • Constructor Detail

      • ResponseRecord

        public ResponseRecord​(java.lang.String content,
                              java.lang.String type)
        Create a new record
        Parameters:
        content - The content to show the user
        type - The content mime type
    • Method Detail

      • content

        public java.lang.String content()
        Get the content for the response
        Returns:
        The content as a string
      • type

        public java.lang.String type()
        Get the type for the response
        Returns:
        The response mime type