001    package com.khubla.pragmatach.framework.api;
002    
003    import java.util.Map;
004    
005    import javax.servlet.http.HttpServletResponse;
006    
007    /**
008     * @author tome
009     */
010    public interface Response {
011       String getContentType() throws PragmatachException;
012    
013       Map<String, String> getHeaders() throws PragmatachException;
014    
015       int getHTTPCode();
016    
017       void render(HttpServletResponse httpServletResponse) throws PragmatachException;
018    }