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
IOExceptionpublic 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.IOExceptionpublic InputStream getInputStream()
public OutputStream getOutputStream()
Copyright © 2004-2015. All Rights Reserved.