hudson.cli
Class FullDuplexHttpStream
java.lang.Object
hudson.cli.FullDuplexHttpStream
public class FullDuplexHttpStream
- extends Object
Creates a capacity-unlimited bi-directional InputStream
/OutputStream
pair over
HTTP, which is a request/response protocol.
- Author:
- Kohsuke Kawaguchi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullDuplexHttpStream
@Deprecated
public FullDuplexHttpStream(URL target)
throws IOException
- Deprecated.
- Throws:
IOException
FullDuplexHttpStream
public FullDuplexHttpStream(URL target,
String authorization)
throws IOException
- Parameters:
target
- The endpoint that we are making requests to.authorization
- The value of the authorization header, if non-null.
- Throws:
IOException
getInputStream
public InputStream getInputStream()
getOutputStream
public OutputStream getOutputStream()
Copyright © 2004-2013. All Rights Reserved.