com.khubla.pragmatach.framework.api
Class Headers

java.lang.Object
  extended by com.khubla.pragmatach.framework.api.Headers

public class Headers
extends Object

Author:
tome

Constructor Summary
Headers(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse)
          ctor
 
Method Summary
 String getAcceptLanguage()
          Accept-Language
 Map<String,String> getHeaders()
          headers
 String[] getPragma()
          pragma
 String getReferer()
          referer
 String getUserAgent()
          User-Agent
 String getVia()
          Via
 void setHeader(String name, String value)
          set header
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Headers

public Headers(javax.servlet.http.HttpServletRequest httpServletRequest,
               javax.servlet.http.HttpServletResponse httpServletResponse)
ctor

Method Detail

getAcceptLanguage

public String getAcceptLanguage()
Accept-Language


getHeaders

public Map<String,String> getHeaders()
headers


getPragma

public String[] getPragma()
pragma


getReferer

public String getReferer()
referer


getUserAgent

public String getUserAgent()
User-Agent


getVia

public String getVia()
Via


setHeader

public void setHeader(String name,
                      String value)
set header



Copyright © 2014 khubla.com. All rights reserved.