We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec7641 commit 89cf0b7Copy full SHA for 89cf0b7
onebusaway-sdk-kotlin-core/src/main/kotlin/org/onebusaway/core/http/HttpRequestBody.kt
@@ -1,12 +1,11 @@
1
package org.onebusaway.core.http
2
3
-import java.io.IOException
4
import java.io.OutputStream
5
import java.lang.AutoCloseable
6
7
interface HttpRequestBody : AutoCloseable {
8
9
- @Throws(IOException::class) fun writeTo(outputStream: OutputStream)
+ fun writeTo(outputStream: OutputStream)
10
11
fun contentType(): String?
12
@@ -20,6 +19,4 @@ interface HttpRequestBody : AutoCloseable {
20
19
* streamed. In this case the body data isn't available on subsequent attempts.
21
*/
22
fun repeatable(): Boolean
23
-
24
- override fun close()
25
}
0 commit comments