com.sshtools.j2ssh.net
Class HttpResponse
java.lang.Object
com.sshtools.j2ssh.net.HttpHeader
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
|
Constructor Summary |
HttpResponse(java.io.InputStream input)
Creates a new HttpResponse object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
version
private java.lang.String version
status
private int status
reason
private java.lang.String reason
HttpResponse
public HttpResponse(java.io.InputStream input)
throws java.io.IOException
- Creates a new HttpResponse object.
- Parameters:
input
-
- Throws:
java.io.IOException
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: