com.sun.slamd.common.http.util
Class HttpResponse

java.lang.Object
  extended bycom.sun.slamd.common.http.util.HttpResponse

public class HttpResponse
extends java.lang.Object


Constructor Summary
HttpResponse()
          Creates a new instance of HttpResponse
 
Method Summary
 int getAuthErrorCode()
          Getter for property authErrorCode.
 java.util.Vector getCookies()
           
 java.util.Enumeration getCookiesEnumeration()
          Getter for property cookies.
 byte[] getLocation()
          Getter for property location.
 int getStatus()
          Getter for property status.
 boolean hasCookies()
           
 java.lang.String printCookies()
           
 void setAuthErrorCode(int authErrorCode)
          Setter for property authErrorCode.
 void setCookies(java.util.Vector cookies)
          Setter for property cookies.
 void setLocation(byte[] location)
          Setter for property location.
 void setStatus(int status)
          Setter for property status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponse

public HttpResponse()
Creates a new instance of HttpResponse

Method Detail

getStatus

public int getStatus()
Getter for property status.

Returns:
Value of property status.

setStatus

public void setStatus(int status)
Setter for property status.

Parameters:
status - New value of property status.

getLocation

public byte[] getLocation()
Getter for property location.

Returns:
Value of property location.

setLocation

public void setLocation(byte[] location)
Setter for property location.

Parameters:
location - New value of property location.

getCookiesEnumeration

public java.util.Enumeration getCookiesEnumeration()
Getter for property cookies.

Returns:
Value of property cookies.

getCookies

public java.util.Vector getCookies()

printCookies

public java.lang.String printCookies()

setCookies

public void setCookies(java.util.Vector cookies)
Setter for property cookies.

Parameters:
cookies - New value of property cookies.

hasCookies

public boolean hasCookies()

getAuthErrorCode

public int getAuthErrorCode()
Getter for property authErrorCode.

Returns:
Value of property authErrorCode.

setAuthErrorCode

public void setAuthErrorCode(int authErrorCode)
Setter for property authErrorCode.

Parameters:
authErrorCode - New value of property authErrorCode.