Package org.apache.tomcat.jni
Interface BIOCallback
-
public interface BIOCallbackOpen SSL BIO Callback Interface- Author:
- Mladen Turk
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringgets(int len)Read string up to the len or CLRLFintputs(String data)Puts stringintread(byte[] buf)Read dataintwrite(byte[] buf)Write data
-
-
-
Method Detail
-
write
int write(byte[] buf)
Write data- Parameters:
buf- containing the bytes to write.- Returns:
- Number of characters written.
-
read
int read(byte[] buf)
Read data- Parameters:
buf- buffer to store the read bytes.- Returns:
- number of bytes read.
-
puts
int puts(String data)
Puts string- Parameters:
data- String to write- Returns:
- Number of characters written
-
gets
String gets(int len)
Read string up to the len or CLRLF- Parameters:
len- Maximum number of characters to read- Returns:
- String with up to len bytes read
-
-