|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.p13n.url.GenericURL
com.bea.content.url.DownloadBinaryURL
public class DownloadBinaryURL
The DownloadBinaryURL
class creates URLs used to download binary properties.
Calling toString()
will return the String version of the URL based on the configured URL template.
Field Summary |
---|
Fields inherited from class com.bea.p13n.url.GenericURL |
---|
adapter, domain, DOMAIN, httpRequest, httpResponse, KNOWN_TOKENS, KNOWN_TOKENS_LIST, params, PATH, PORT, PREFIX, QUERY_STRING, SCHEME, SECURE_PORT |
Method Summary | |
---|---|
static DownloadBinaryURL |
createDownloadBinaryURL(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Node node) Creates and returns an instance of DownloadBinaryURL . |
static DownloadBinaryURL |
createDownloadBinaryURL(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Node node, String propertyName) Creates and returns an instance of DownloadBinaryURL . |
String |
getFileName() Get the value of fileName |
void |
setFileName(String fileName) Set the value of fileName |
String |
toString() |
Methods inherited from class com.bea.p13n.url.GenericURL |
---|
addParameter, addParameter, addParameter, appendEnsureSeparator, appendPathWhenNull, cleanUrl, clone, copyInfo, createGenericURL, createQueryStringBuilder, getContextualPath, getDomain, getEncodeSession, getParameter, getParameters, getPath, getPathPrefix, getPort, getResolvedTemplate, getScheme, getTemplate, removeParameter, setContextualPath, setDomain, setEncodeSession, setPath, setPathPrefix, setPort, setScheme, setTemplate, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static DownloadBinaryURL createDownloadBinaryURL(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Node node)
DownloadBinaryURL
.
This will use the default primary property as the download (if available).
request
- The HttpServletRequest
response
- The HttpServletResponse
node
- The node whose primary property you want to render. Cannot be null.DownloadBinaryURL
.public static DownloadBinaryURL createDownloadBinaryURL(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Node node, String propertyName)
DownloadBinaryURL
.request
- The HttpServletRequest
response
- The HttpServletResponse
node
- The node whose primary property you want to render. Cannot be null.propertyName
- the binary property to download. If null, the primary property of the node will be used to download.DownloadBinaryURL
.public String getFileName()
fileName
public void setFileName(String fileName)
fileName
public String toString()
toString
in class com.bea.p13n.url.GenericURL
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.