| org.apache.cocoon.environment.AbstractEnvironment org.apache.cocoon.environment.commandline.AbstractCommandLineEnvironment
All known Subclasses: org.apache.cocoon.environment.commandline.FileSavingEnvironment, org.apache.cocoon.environment.commandline.LinkSamplingEnvironment,
AbstractCommandLineEnvironment | abstract public class AbstractCommandLineEnvironment extends AbstractEnvironment implements Redirector(Code) | | This environment is used to save the requested file to disk.
author: Stefano Mazzocchi version: $Id: AbstractCommandLineEnvironment.java 433543 2006-08-22 06:22:54Z crossley $ |
contentLength | protected int contentLength(Code) | | |
hasRedirected | protected boolean hasRedirected(Code) | | |
statusCode | protected int statusCode(Code) | | |
getContentType | public String getContentType()(Code) | | Get the ContentType
|
getOutputStream | public OutputStream getOutputStream(int bufferSize) throws IOException(Code) | | Return an OutputStream, but allow it to be null for when
the pipeline is being streamed to the provided SAX
content handler (using CocoonBean)
|
getStatus | public int getStatus()(Code) | | Get the StatusCode
|
hasRedirected | public boolean hasRedirected()(Code) | | |
isExternal | public boolean isExternal()(Code) | | Always return true .
|
redirect | public void redirect(boolean sessionmode, String newURL) throws IOException(Code) | | Redirect the client to a new URL
|
sendStatus | public void sendStatus(int sc)(Code) | | |
setContentLength | public void setContentLength(int contentLength)(Code) | | Set the ContentLength
|
setContentType | public void setContentType(String contentType)(Code) | | Set the ContentType
|
setStatus | public void setStatus(int statusCode)(Code) | | Set the StatusCode
|
Methods inherited from org.apache.cocoon.environment.AbstractEnvironment | public void changeContext(String newPrefix, String newContext) throws IOException(Code)(Java Doc) public void commitResponse() throws IOException(Code)(Java Doc) protected static String extractAction(Request req)(Code)(Java Doc) protected static String extractView(Request request)(Code)(Java Doc) public void finishingProcessing()(Code)(Java Doc) public String getAction()(Code)(Java Doc) public Object getAttribute(String name)(Code)(Java Doc) public Enumeration getAttributeNames()(Code)(Java Doc) public String getContext()(Code)(Java Doc) public Map getObjectModel()(Code)(Java Doc) public OutputStream getOutputStream() throws IOException(Code)(Java Doc) public OutputStream getOutputStream(int bufferSize) throws IOException(Code)(Java Doc) public String getRootContext()(Code)(Java Doc) public String getURI()(Code)(Java Doc) public String getURIPrefix()(Code)(Java Doc) public String getView()(Code)(Java Doc) public void globalRedirect(boolean sessionmode, String newURL) throws IOException(Code)(Java Doc) protected boolean hasAttribute(String name)(Code)(Java Doc) protected void initComponents()(Code)(Java Doc) public boolean isInternalRedirect()(Code)(Java Doc) public boolean isResponseModified(long lastModified)(Code)(Java Doc) public void release(org.apache.excalibur.source.Source source)(Code)(Java Doc) public void removeAttribute(String name)(Code)(Java Doc) public Source resolve(String systemId) throws ProcessingException, SAXException, IOException(Code)(Java Doc) public org.apache.excalibur.source.Source resolveURI(String location) throws MalformedURLException, IOException, SourceException(Code)(Java Doc) public org.apache.excalibur.source.Source resolveURI(String location, String baseURI, Map parameters) throws MalformedURLException, IOException, SourceException(Code)(Java Doc) protected void setAction(String action)(Code)(Java Doc) public void setAttribute(String name, Object value)(Code)(Java Doc) protected void setContext(String context)(Code)(Java Doc) public void setContext(String prefix, String uri, String context)(Code)(Java Doc) public void setResponseIsNotModified()(Code)(Java Doc) public void setStatus(int statusCode)(Code)(Java Doc) protected void setURIPrefix(String prefix)(Code)(Java Doc) protected void setView(String view)(Code)(Java Doc) public void startingProcessing()(Code)(Java Doc) public boolean tryResetResponse() throws IOException(Code)(Java Doc)
|
|
|