com.khubla.pragmatach.framework.controller.impl.trivial
Class TrivialResponse
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractResponse
com.khubla.pragmatach.framework.controller.impl.trivial.TrivialResponse
- All Implemented Interfaces:
- Response
public class TrivialResponse
- extends AbstractResponse
- Author:
- tome
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrivialResponse
public TrivialResponse(Map<String,String> cacheHeaders,
int httpCode)
- ctor
TrivialResponse
public TrivialResponse(Map<String,String> cacheHeaders,
String response,
int httpCode)
- 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.