public abstract class WebScriptResponseImpl extends Object implements WebScriptResponse
ATOM_FORMAT, HEADER_LOCATION, HTML_FORMAT, JSON_FORMAT, OPENSEARCH_DESCRIPTION_FORMAT, RSS_FORMAT, XML_FORMAT| Constructor and Description |
|---|
WebScriptResponseImpl(Runtime runtime)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
String |
encodeResourceUrl(String url)
Encode a resource URL
Note: Some Web Script Runtime environments (e.g.
|
String |
getEncodeResourceUrlFunction(String name)
Return a client side javascript function to build resource urls for this service
|
Runtime |
getRuntime()
Gets the initiating runtime
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, encodeScriptUrl, getEncodeScriptUrlFunction, getOutputStream, getWriter, reset, setCache, setContentEncoding, setContentType, setHeader, setStatuspublic WebScriptResponseImpl(Runtime runtime)
runtime - Runtimepublic Runtime getRuntime()
WebScriptResponsegetRuntime in interface WebScriptResponsepublic String encodeResourceUrl(String url)
WebScriptResponseencodeResourceUrl in interface WebScriptResponseurl - to encodepublic String getEncodeResourceUrlFunction(String name)
WebScriptResponsegetEncodeResourceUrlFunction in interface WebScriptResponsename - Generated function nameCopyright © 2005–2018 Alfresco Software. All rights reserved.