hudson.cli
Class FullDuplexHttpStream

java.lang.Object
  extended by 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

Constructor Summary
FullDuplexHttpStream(URL target)
          Deprecated. 
FullDuplexHttpStream(URL target, String authorization)
           
 
Method Summary
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

getInputStream

public InputStream getInputStream()

getOutputStream

public OutputStream getOutputStream()


Copyright © 2004-2013. All Rights Reserved.