public class FullDuplexHttpStream extends Object
InputStream
/OutputStream
pair over
HTTP, which is a request/response protocol.Constructor and Description |
---|
FullDuplexHttpStream(URL target)
Deprecated.
|
FullDuplexHttpStream(URL target,
String authorization) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
@Deprecated public FullDuplexHttpStream(URL target) throws IOException
IOException
public FullDuplexHttpStream(URL target, String authorization) throws IOException
target
- The endpoint that we are making requests to.authorization
- The value of the authorization header, if non-null.IOException
public InputStream getInputStream()
public OutputStream getOutputStream()
Copyright © 2017. All rights reserved.