Class NotificationLogViewer


  • public class NotificationLogViewer
    extends LogViewerResource
    Represents a large text data.

    This class defines methods for handling progressive text update.

    Usage

    Author:
    Kohsuke Kawaguchi, Susan Rai
    • Constructor Detail

      • NotificationLogViewer

        public NotificationLogViewer()
    • Method Detail

      • get

        @GET
        @Produces("text/plain;charset=UTF-8")
        public jakarta.ws.rs.core.Response get​(@QueryParam("start") @DefaultValue("0")
                                               long start,
                                               @QueryParam("instanceName") @DefaultValue("server")
                                               String instanceName,
                                               @Context
                                               jakarta.ws.rs.core.HttpHeaders hh)
                                        throws IOException
        Overrides:
        get in class LogViewerResource
        Throws:
        IOException
      • createNotificationLogFolder

        public void createNotificationLogFolder​(String FolderName)
      • writeToNotificationLogFile

        public void writeToNotificationLogFile​(String fileName)
      • readServerLogFile

        public void readServerLogFile​(String file)