Package | Description |
---|---|
javax.servlet |
The jakarta.servlet package contains a number of classes and interfaces that describe and define the contracts between a servlet class and the runtime environment provided for an instance of such a class by a conforming servlet container.
|
javax.servlet.http |
The jakarta.servlet.http package contains a number of classes and interfaces that describe and define the contracts between a servlet class running under the HTTP protocol and the runtime environment provided for an instance of such a class by a conforming servlet container.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ServletOutputStream.setWriteListener(WriteListener writeListener)
Instructs the
ServletOutputStream to invoke the provided WriteListener when it is possible to
write |
Modifier and Type | Method and Description |
---|---|
void |
NoBodyOutputStream.setWriteListener(WriteListener writeListener) |