com.sshtools.net
Class HttpResponse

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

public class HttpResponse
extends HttpHeader

Utility class to process HTTP responses.

Author:
Lee David Painter

Field Summary
 
Fields inherited from class com.sshtools.net.HttpHeader
begin, white_SPACE
 
Constructor Summary
HttpResponse(InputStream input)
           
 
Method Summary
 String getAuthenticationMethod()
           
 String getAuthenticationRealm()
           
 String getReason()
           
 int getStatus()
           
 String getVersion()
           
 
Methods inherited from class com.sshtools.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
 

Constructor Detail

HttpResponse

public HttpResponse(InputStream input)
             throws IOException
Throws:
IOException
Method Detail

getVersion

public String getVersion()

getStatus

public int getStatus()

getReason

public String getReason()

getAuthenticationMethod

public String getAuthenticationMethod()

getAuthenticationRealm

public String getAuthenticationRealm()


Copyright © 2012. All Rights Reserved.