|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.wcm.javaee.servlet.proxy.AbstractProxyHandler
oracle.stellent.wcm.javaee.servlet.proxy.FileProxyHandler
public class FileProxyHandler
Stream files from via ContentAdapter from the configured Content Server.
| Constructor Summary | |
|---|---|
FileProxyHandler(javax.servlet.ServletConfig servletConfig, javax.servlet.ServletContext servletContext) |
|
| Method Summary | |
|---|---|
protected boolean |
checkIfModifiedSince(ServletRequestContext requestContext, ContentStream stream)Check the "If-Modified-Since" header and respond appropriately |
protected boolean |
checkSecurity(ContentURI contentURI, ServletRequestContext requestContext)Check the security of the request |
SiteRequestLogic<SiteRequest> |
getCommandLogic() |
void |
handle(ServletRequestContext requestContext)Handle this request |
protected void |
updateProxyResponse(ServletRequestContext requestContext, ContentStream contentStream, ProxyResponse proxyResponse)Update the proxy response object |
| Methods inherited from class oracle.stellent.wcm.javaee.servlet.proxy.AbstractProxyHandler |
|---|
getClientApplication, getServletConfig, getServletContext, populateRequest, sendProxyResponse, streamResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileProxyHandler(javax.servlet.ServletConfig servletConfig,
javax.servlet.ServletContext servletContext)
| Method Detail |
|---|
public SiteRequestLogic<SiteRequest> getCommandLogic()
throws javax.servlet.ServletException
javax.servlet.ServletException
public void handle(ServletRequestContext requestContext)
throws javax.servlet.ServletException,
java.io.IOException
requestContext - the request contextjavax.servlet.ServletExceptionjava.io.IOException
protected void updateProxyResponse(ServletRequestContext requestContext,
ContentStream contentStream,
ProxyResponse proxyResponse)
throws java.io.IOException
requestContext - the request contextcontentStream - the content streamproxyResponse - the proxy responsejava.io.IOException
protected boolean checkSecurity(ContentURI contentURI,
ServletRequestContext requestContext)
throws javax.servlet.ServletException
contentURI - the urirequestContext - the request contextjavax.servlet.ServletException
protected boolean checkIfModifiedSince(ServletRequestContext requestContext,
ContentStream stream)
requestContext - the request contextstream - the content stream object
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||