Method Summary |
|
void | close() Closes this response stream. |
InputStream | getInputStream(int len) Creates a simple InputStream over the server response. |
int | getServerType() Retrieves the server type. |
int | getStreamId() Retrieves the unique stream id. |
int | getTdsVersion() Retrieves the TDS version number. |
int | peek() Retrieves the next input byte without reading forward. |
int | read() Reads the next input byte from the server response stream. |
int | read(byte[] b) Reads a byte array from the server response stream. |
int | read(byte[] b, int off, int len) Reads a byte array from the server response stream, specifying a start
offset and length. |
int | read(char[] c) Reads a char array from the server response stream. |
int | readInt() Reads an int value from the server response stream. |
long | readLong() Reads a long value from the server response stream. |
String | readNonUnicodeString(int len) Reads a non Unicode String from the server response stream,
creating the String from a translated byte
array. |
String | readNonUnicodeString(int len, CharsetInfo charsetInfo) Reads a String from the server response stream, translating
it from a byte array using the specified character set. |
short | readShort() Reads a short value from the server response stream. |
String | readString(int len) Reads a String object from the server response stream. |
String | readString(int len, CharsetInfo info) Reads a String from the server response stream, creating
it from a translated byte array. |
String | readUnicodeString(int len) Reads a UCS2-LE (Unicode) encoded String object from the server response
stream. |
BigDecimal | readUnsignedLong() Reads an unsigned long value from the server response stream. |
int | skip(int skip) Discards bytes from the server response stream. |
void | skipString(int len) Skips a String from the server response stream. |
void | skipToEnd() Consumes the rest of the server response, without parsing it. |