com.khubla.pragmatach.framework.controller.impl
Class AbstractResponse

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractResponse
All Implemented Interfaces:
Response
Direct Known Subclasses:
FreemarkerResponse, JasperResponse, JCRResponse, JSONResponse, JSPResponse, RedirectResponse, ResponsiveImageResponse, SimpleTemplateResponse, StaticResourceResponse, StreamingResponse, ThymeleafResponse, TrivialResponse, VelocityResponse, XStreamResponse, YAMLResponse

public abstract class AbstractResponse
extends Object
implements Response

Author:
tome

Field Summary
protected static String CONTENT_TYPE_HTML
          content type
 
Constructor Summary
AbstractResponse(Map<String,String> cacheHeaders)
          ctor
 
Method Summary
 Map<String,String> getCacheHeaders()
           
 int getHTTPCode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.khubla.pragmatach.framework.api.Response
getContentType, getHeaders, render
 

Field Detail

CONTENT_TYPE_HTML

protected static final String CONTENT_TYPE_HTML
content type

See Also:
Constant Field Values
Constructor Detail

AbstractResponse

public AbstractResponse(Map<String,String> cacheHeaders)
ctor

Method Detail

getCacheHeaders

public Map<String,String> getCacheHeaders()

getHTTPCode

public int getHTTPCode()
Specified by:
getHTTPCode in interface Response


Copyright © 2014 khubla.com. All rights reserved.