|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echoservlet.image.ImagePeer nextapp.echoservlet.image.AwtImagePeer
An image peer for AwtImageReference
s.
Constructor Summary | |
AwtImagePeer()
Default constructor. |
Method Summary | |
Service |
getAncillaryService()
Returns the ancillary service used for rendering this image on the client. |
Id |
getId()
Returns a unique identifier for this service. |
java.lang.String |
getUri(Connection conn)
Returns the URI required to reference this image from a document rendered by the given Connection . |
int |
getVersion()
Returns the version of the service to be retrieved. |
void |
imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
Invoked when an image update change occurs. |
void |
registered()
Called to notify the image peer that it has been registered to an image. |
void |
service(Connection conn)
Services an HTTP request. |
void |
setId(Id id)
Sets the identifier for the ancillary service if one is required. |
Methods inherited from class nextapp.echoservlet.image.ImagePeer |
getImageReference |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AwtImagePeer()
Method Detail |
public Service getAncillaryService()
ImagePeer
getAncillaryService
in class ImagePeer
ImagePeer.getAncillaryService()
public Id getId()
Service
getId
in interface Service
Service.getId()
public java.lang.String getUri(Connection conn)
ImagePeer
Connection
.
getUri
in class ImagePeer
conn
- The connection that is rendering the document that
references the image.
ImagePeer.getUri(Connection)
public int getVersion()
CacheableService
getVersion()
should return distinct values whenever the
service's content may have changed.
getVersion
in interface CacheableService
CacheableService.getVersion()
public void imageUpdate(nextapp.echo.event.ImageUpdateEvent e)
nextapp.echo.event.ImageUpdateListener
imageUpdate
in interface nextapp.echo.event.ImageUpdateListener
e
- The event describing the image update.ImageUpdateListener.imageUpdate(ImageUpdateEvent)
public void registered()
ImagePeer
registered
in class ImagePeer
ImagePeer.registered()
public void setId(Id id)
ImagePeer
setId
in class ImagePeer
id
- The identifier for the ancillary service.ImagePeer.setId(Id)
public void service(Connection conn) throws java.io.IOException
Service
service
in interface Service
conn
- A Connection
object which wraps
HttpServletRequest
and
HttpServletResponse
objects and provides
access to the facilities of the Echo application container.
java.io.IOException
- in the event of errors related to processing the
HTTP request or producing a response.Service.service(Connection)
|
NextApp Echo App Container 1.1.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |