|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface marks a component as a sitemap component that produces a response, like a serializer or a reader.
| Method Summary | |
String |
getMimeType()
Get the media type of the output of this Component
to be used in Content-Type header in the response.
|
void |
setOutputStream(OutputStream out)
Set the OutputStream where the requested resource should
be serialized. |
boolean |
shouldSetContentLength()
Test if the component wants to set the content length |
| Method Detail |
public void setOutputStream(OutputStream out)
throws IOException
OutputStream where the requested resource should
be serialized.
IOExceptionpublic String getMimeType()
Component
to be used in Content-Type header in the response.
text/html; charset=utf-8.
mime-type attribute is set
in the sitemap.
AbstractProcessingPipeline.setMimeTypeForSerializer(org.apache.cocoon.environment.Environment),
AbstractProcessingPipeline.setMimeTypeForReader(org.apache.cocoon.environment.Environment)public boolean shouldSetContentLength()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||