org.apache.jmeter.protocol.http.util

Class LoopbackHTTPSocket


public class LoopbackHTTPSocket
extends Socket

Constructor Summary

LoopbackHTTPSocket(String host, int port)
LoopbackHTTPSocket(String host, int port, InetAddress localAddr, int localPort)
LoopbackHTTPSocket(String host, int port, InetAddress localAddress, int localPort, int timeout)

Method Summary

InputStream
getInputStream()
OutputStream
getOutputStream()

Constructor Details

LoopbackHTTPSocket

public LoopbackHTTPSocket(String host,
                          int port)
            throws UnknownHostException,
                   IOException

LoopbackHTTPSocket

public LoopbackHTTPSocket(String host,
                          int port,
                          InetAddress localAddr,
                          int localPort)
            throws IOException

LoopbackHTTPSocket

public LoopbackHTTPSocket(String host,
                          int port,
                          InetAddress localAddress,
                          int localPort,
                          int timeout)
            throws IOException

Method Details

getInputStream

public InputStream getInputStream()
            throws IOException

getOutputStream

public OutputStream getOutputStream()
            throws IOException

Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.