| java.lang.Object org.apache.cocoon.environment.mock.MockEnvironment
Method Summary | |
public void | changeContext(String uriprefix, String context) | public void | commitResponse() | public void | finishingProcessing() | public String | getAction() | public Object | getAttribute(String name) | public Enumeration | getAttributeNames() | public int | getContentLength() | public String | getContentType() | public String | getContext() | public Map | getObjectModel() | public byte[] | getOutput() | public OutputStream | getOutputStream() Get the output stream where to write the generated resource. | public OutputStream | getOutputStream(int bufferSize) | public String | getRootContext() | public int | getStatus() | public String | getURI() | public String | getURIPrefix() | public String | getView() | public boolean | isExternal() Always return true . | public boolean | isInternalRedirect() | public boolean | isResponseModified(long lastModified) | public void | redirect(boolean sessionmode, String url) | public void | release(org.apache.excalibur.source.Source source) | public void | removeAttribute(String name) | public Source | resolve(String systemID) | public org.apache.excalibur.source.Source | resolveURI(String location) | public org.apache.excalibur.source.Source | resolveURI(String location, String base, Map parameters) | public void | setAttribute(String name, Object value) | public void | setContentLength(int length) | public void | setContentType(String contenttype) | public void | setContext(String prefix, String uri, String context) | public void | setResponseIsNotModified() | public void | setStatus(int statusCode) | public void | startingProcessing() | public void | toSAX(org.apache.excalibur.source.Source source, ContentHandler handler) | public void | toSAX(org.apache.excalibur.source.Source source, String mimeTypeHint, ContentHandler handler) | public boolean | tryResetResponse() |
MockEnvironment | public MockEnvironment(SourceResolver resolver)(Code) | | |
finishingProcessing | public void finishingProcessing()(Code) | | |
getContentLength | public int getContentLength()(Code) | | |
getObjectModel | public Map getObjectModel()(Code) | | |
getOutput | public byte[] getOutput()(Code) | | |
getStatus | public int getStatus()(Code) | | |
isExternal | public boolean isExternal()(Code) | | Always return true .
|
isInternalRedirect | public boolean isInternalRedirect()(Code) | | |
isResponseModified | public boolean isResponseModified(long lastModified)(Code) | | |
release | public void release(org.apache.excalibur.source.Source source)(Code) | | Releases a resolved resource
|
removeAttribute | public void removeAttribute(String name)(Code) | | |
setContentLength | public void setContentLength(int length)(Code) | | |
setContentType | public void setContentType(String contenttype)(Code) | | |
setResponseIsNotModified | public void setResponseIsNotModified()(Code) | | |
setStatus | public void setStatus(int statusCode)(Code) | | |
startingProcessing | public void startingProcessing()(Code) | | |
|
|