Liferay 6.2-ce-ga5

com.liferay.portal.kernel.util
Class Http.Response

java.lang.Object
  extended by com.liferay.portal.kernel.util.Http.Response
Enclosing interface:
Http

public static class Http.Response
extends Object


Constructor Summary
Http.Response()
           
 
Method Summary
 void addHeader(String name, String value)
           
 int getContentLength()
           
 String getContentType()
           
 String getHeader(String name)
           
 Map<String,String> getHeaders()
           
 String getRedirect()
           
 int getResponseCode()
           
 void setContentLength(int contentLength)
           
 void setContentType(String contentType)
           
 void setHeaders(Map<String,String> headers)
           
 void setRedirect(String redirect)
           
 void setResponseCode(int responseCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Http.Response

public Http.Response()
Method Detail

addHeader

public void addHeader(String name,
                      String value)

getContentLength

public int getContentLength()

getContentType

public String getContentType()

getHeader

public String getHeader(String name)

getHeaders

public Map<String,String> getHeaders()

getRedirect

public String getRedirect()

getResponseCode

public int getResponseCode()

setContentLength

public void setContentLength(int contentLength)

setContentType

public void setContentType(String contentType)

setHeaders

public void setHeaders(Map<String,String> headers)

setRedirect

public void setRedirect(String redirect)

setResponseCode

public void setResponseCode(int responseCode)

Liferay 6.2-ce-ga5