| org.wings.externalizer.Externalizer
getExtension | String getExtension(SUPPORTED_TYPE obj)(Code) | | Returns the file extension of the given object. Some (old) browsers use
this information instead of the mime type. This is especially necessary
if delivering anything different than HTML.
|
getHeaders | Collection<HttpHeader> getHeaders(SUPPORTED_TYPE obj)(Code) | | Get additional http-headers.
Returns null, if there are no additional headers to be set.
Parameters: obj - get headers for this object Set of java.util.Map.Entry (key-value pairs) or null if none should be added. |
getId | String getId(SUPPORTED_TYPE obj)(Code) | | Suggest an id.
If a resource has a reasonable unique id, then it will be used as the externalized id.
|
getLength | int getLength(SUPPORTED_TYPE obj)(Code) | | Returns the externalized length of this Object. This value is set as
content length in the HttpServletResponse. If it return -1 no content
length is set.
|
getMimeType | String getMimeType(SUPPORTED_TYPE obj)(Code) | | returns the mime type of the given object.
|
getSupportedClasses | Class[] getSupportedClasses()(Code) | | Returns the supported classes. The
ExternalizeManager chooses the Externalizer (if not specified as parameter) by objects
class.
|
getSupportedMimeTypes | String[] getSupportedMimeTypes()(Code) | | Returns the supported mime types. The
ExternalizeManager chooses the Externalizer by mime type (if specified as parameter)
|
isFinal | boolean isFinal(SUPPORTED_TYPE obj)(Code) | | Returns true if the object is final, false if transient. It is used to
control the caching in the browser.
|
|
|