NextApp Echo
App Container 1.1.4

nextapp.echoservlet.image
Class HttpImagePeer

java.lang.Object
  extended bynextapp.echoservlet.image.ImagePeer
      extended bynextapp.echoservlet.image.HttpImagePeer
All Implemented Interfaces:
java.io.Serializable

public class HttpImagePeer
extends ImagePeer

An image peer for HttpImageReferences.

See Also:
Serialized Form

Constructor Summary
HttpImagePeer()
          Default constructor.
 
Method Summary
 Service getAncillaryService()
          Returns the ancillary service used for rendering this image on the client.
 java.lang.String getUri(Connection conn)
          Returns the URI required to reference this image from a document rendered by the given Connection.
 
Methods inherited from class nextapp.echoservlet.image.ImagePeer
getImageReference, registered, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpImagePeer

public HttpImagePeer()
Default constructor.

Method Detail

getAncillaryService

public Service getAncillaryService()
Description copied from class: ImagePeer
Returns the ancillary service used for rendering this image on the client. Returns null if no ancillary service is required.

Specified by:
getAncillaryService in class ImagePeer
Returns:
The ancillary service used for rendering this image on the client.
See Also:
ImagePeer.getAncillaryService()

getUri

public java.lang.String getUri(Connection conn)
Description copied from class: ImagePeer
Returns the URI required to reference this image from a document rendered by the given Connection.

Specified by:
getUri in class ImagePeer
Parameters:
conn - The connection that is rendering the document that references the image.
Returns:
The URI of the image.
See Also:
ImagePeer.getUri(Connection)

NextApp Echo
App Container 1.1.4