|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo2.webcontainer.image.AbstractImageService
nextapp.echo2.webcontainer.image.AwtImageService
public class AwtImageService
Renders an AwtImageReference
to the client.
Field Summary | |
---|---|
static AwtImageService |
INSTANCE
|
Fields inherited from interface nextapp.echo2.webrender.Service |
---|
DO_NOT_CACHE |
Constructor Summary | |
---|---|
AwtImageService()
|
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the unique identifier of this service. |
int |
getVersion()
Returns the version of the service to be retrieved. |
void |
renderImage(nextapp.echo2.webrender.Connection conn,
nextapp.echo2.app.ImageReference imageReference)
Renders the specified image to the given connection. |
Methods inherited from class nextapp.echo2.webcontainer.image.AbstractImageService |
---|
createUri, service, serviceBadRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final AwtImageService INSTANCE
Constructor Detail |
---|
public AwtImageService()
Method Detail |
---|
public java.lang.String getId()
nextapp.echo2.webrender.Service
Service.getId()
public int getVersion()
nextapp.echo2.webrender.Service
getVersion()
should return distinct values whenever the
service's content may have changed.
Service.getVersion()
public void renderImage(nextapp.echo2.webrender.Connection conn, nextapp.echo2.app.ImageReference imageReference) throws java.io.IOException
AbstractImageService
OutputStream
.
renderImage
in class AbstractImageService
conn
- the Connection
on which to render the imageimageReference
- the image to be rendered
java.io.IOException
- if the image cannot be renderedAbstractImageService.renderImage(
nextapp.echo2.webrender.Connection, nextapp.echo2.app.ImageReference)
|
NextApp Echo2 v2.1.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |