public class NotificationLogViewer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Charset |
charset |
protected LocatorBridge |
habitat |
protected org.glassfish.hk2.api.ServiceLocator |
injector |
protected javax.ws.rs.core.UriInfo |
ui |
| Constructor and Description |
|---|
NotificationLogViewer() |
| Modifier and Type | Method and Description |
|---|---|
void |
createNotificationLogFolder(String FolderName) |
javax.ws.rs.core.Response |
get(long start,
String instanceName,
javax.ws.rs.core.HttpHeaders hh) |
StructuredLogViewerResource |
getDomainUptimeResource() |
void |
initLargeText(File file,
boolean completed) |
void |
initLargeText(File file,
Charset charset,
boolean completed) |
boolean |
isComplete() |
void |
markAsComplete() |
void |
readServerLogFile(String file) |
void |
setEntity(org.jvnet.hk2.config.Dom p) |
void |
writeToNotificationLogFile(String fileName) |
@Context protected org.glassfish.hk2.api.ServiceLocator injector
@Context protected javax.ws.rs.core.UriInfo ui
@Context protected LocatorBridge habitat
protected Charset charset
public void setEntity(org.jvnet.hk2.config.Dom p)
@Path(value="details/") public StructuredLogViewerResource getDomainUptimeResource()
@GET
@Produces(value="text/plain;charset=UTF-8")
public javax.ws.rs.core.Response get(@QueryParam(value="start") @DefaultValue(value="0")
long start,
@QueryParam(value="instanceName") @DefaultValue(value="server")
String instanceName,
@Context
javax.ws.rs.core.HttpHeaders hh)
throws IOException
IOExceptionpublic void initLargeText(File file, boolean completed)
public void markAsComplete()
public boolean isComplete()
public void createNotificationLogFolder(String FolderName)
public void writeToNotificationLogFile(String fileName)
public void readServerLogFile(String file)
Copyright © 2017. All rights reserved.