org.glassfish.admin.rest.resources.custom
Class LogViewerResource
java.lang.Object
org.glassfish.admin.rest.resources.custom.LogViewerResource
public class LogViewerResource
- extends java.lang.Object
Represents a large text data.
This class defines methods for handling progressive text update.
Usage
- Author:
- Kohsuke Kawaguchi
|
Field Summary |
protected java.nio.charset.Charset |
charset
|
protected org.jvnet.hk2.component.Habitat |
habitat
|
protected com.sun.jersey.api.core.ResourceContext |
resourceContext
|
protected javax.ws.rs.core.UriInfo |
ui
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resourceContext
@Context
protected com.sun.jersey.api.core.ResourceContext resourceContext
ui
@Context
protected javax.ws.rs.core.UriInfo ui
habitat
@Context
protected org.jvnet.hk2.component.Habitat habitat
charset
protected java.nio.charset.Charset charset
LogViewerResource
public LogViewerResource()
setEntity
public void setEntity(org.jvnet.hk2.config.Dom p)
getDomainUptimeResource
public StructuredLogViewerResource getDomainUptimeResource()
get
public javax.ws.rs.core.Response get(long start,
java.lang.String instanceName,
@Context
javax.ws.rs.core.HttpHeaders hh)
throws java.io.IOException
- Throws:
java.io.IOException
initLargeText
public void initLargeText(java.io.File file,
boolean completed)
initLargeText
public void initLargeText(java.io.File file,
java.nio.charset.Charset charset,
boolean completed)
markAsComplete
public void markAsComplete()
isComplete
public boolean isComplete()
Copyright © 2012 GlassFish Community. All Rights Reserved.