com.liferay.portal.kernel.util
Class Http.Response
java.lang.Object
com.liferay.portal.kernel.util.Http.Response
- Enclosing interface:
- Http
public static class Http.Response
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Http.Response
public Http.Response()
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)