protected static class Command.Response
extends java.lang.Object
implements java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getContentType() |
java.io.InputStream |
getInputStream() |
int |
getStatusCode() |
java.lang.String |
getStatusText() |
java.lang.String |
getText() |
public java.lang.String getStatusText()
public int getStatusCode()
public java.lang.String getContentType()
public java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getText()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException