com.khubla.pragmatach.framework.controller.impl.stat
Class StaticResourceResponse
java.lang.Object
  
com.khubla.pragmatach.framework.controller.impl.AbstractResponse
      
com.khubla.pragmatach.framework.controller.impl.stat.StaticResourceResponse
- All Implemented Interfaces: 
 - Response
 
public class StaticResourceResponse
- extends AbstractResponse
 
- Author:
 
  - tome
 
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
StaticResourceResponse
public StaticResourceResponse(Map<String,String> cacheHeaders,
                              InputStream resourceInputStream)
- ctor
 
getContentType
public String getContentType()
                      throws PragmatachException
- Throws:
 PragmatachException
 
getHeaders
public Map<String,String> getHeaders()
                              throws PragmatachException
- Throws:
 PragmatachException
 
getHTTPCode
public int getHTTPCode()
- Specified by:
 getHTTPCode in interface Response- Overrides:
 getHTTPCode in class AbstractResponse
 
 
render
public void render(javax.servlet.http.HttpServletResponse httpServletResponse)
            throws PragmatachException
- Throws:
 PragmatachException
 
Copyright © 2014 khubla.com. All rights reserved.