protected static class Command.Response
extends java.lang.Object
implements java.io.Closeable
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.Long |
getContentLength() |
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.lang.Long getContentLength()
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
public java.lang.String getText() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException