Class AuWriters


  • public class AuWriters
    extends java.lang.Object
    Utilities to instantiate an implementation of AuWriter.
    Since:
    3.0.1
    Author:
    tomyeh
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String CONTENT_TYPE
      The content type of the output.
    • Constructor Summary

      Constructors 
      Constructor Description
      AuWriters()  
    • Field Detail

      • CONTENT_TYPE

        public static final java.lang.String CONTENT_TYPE
        The content type of the output.
        Since:
        3.5.0
    • Constructor Detail

      • AuWriters

        public AuWriters()
    • Method Detail

      • getImplementationClass

        public static java.lang.Class getImplementationClass()
        Returns the implementation class of AuWriter that will be used to generate the output to the client.

        Default: HttpAuWriter.

      • setImplementationClass

        public static void setImplementationClass​(java.lang.Class cls)
        Sets the implementation class of AuWriter that will be used to generate the output to the client.
      • toJSON

        public static JSONArray toJSON​(AuResponse response)
        Converts a response to a JSON object.
        Since:
        5.0.5