com.sshtools.j2ssh.net
Class HttpResponse

java.lang.Object
  extended by com.sshtools.j2ssh.net.HttpHeader
      extended by com.sshtools.j2ssh.net.HttpResponse

public class HttpResponse
extends HttpHeader

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private  java.lang.String reason
           
private  int status
           
private  java.lang.String version
           
 
Fields inherited from class com.sshtools.j2ssh.net.HttpHeader
begin, fields, white_SPACE
 
Constructor Summary
HttpResponse(java.io.InputStream input)
          Creates a new HttpResponse object.
 
Method Summary
 java.lang.String getAuthenticationMethod()
           
 java.lang.String getAuthenticationRealm()
           
 java.lang.String getReason()
           
 int getStatus()
           
 java.lang.String getVersion()
           
private  void processResponse()
           
 
Methods inherited from class com.sshtools.j2ssh.net.HttpHeader
getHeaderField, getHeaderFieldNames, getHeaderFields, getStartLine, processHeaderFields, readLine, setHeaderField, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

private java.lang.String version

status

private int status

reason

private java.lang.String reason
Constructor Detail

HttpResponse

public HttpResponse(java.io.InputStream input)
             throws java.io.IOException
Creates a new HttpResponse object.

Parameters:
input -
Throws:
java.io.IOException
Method Detail

getVersion

public java.lang.String getVersion()
Returns:

getStatus

public int getStatus()
Returns:

getReason

public java.lang.String getReason()
Returns:

processResponse

private void processResponse()
                      throws java.io.IOException
Throws:
java.io.IOException

getAuthenticationMethod

public java.lang.String getAuthenticationMethod()
Returns:

getAuthenticationRealm

public java.lang.String getAuthenticationRealm()
Returns: