|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| 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.handlers.AbstractHandler
oracle.stellent.wcm.javaee.servlet.proxy.handlers.FileHandler
public class FileHandler
Stream files from via ContentAdapter from the configured Content Server.
| Constructor Summary | |
|---|---|
FileHandler(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 |
RequestLogic<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.handlers.AbstractHandler |
|---|
getServletConfig, getServletContext, getWcmApplication, populateRequest, sendProxyResponse, streamResponse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileHandler(javax.servlet.ServletConfig servletConfig,
javax.servlet.ServletContext servletContext)
| Method Detail |
|---|
public RequestLogic<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® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||