public class HttpTransceiver extends Transceiver
Transceiver implementation.| Constructor and Description | 
|---|
HttpTransceiver(URL url)  | 
HttpTransceiver(URL url,
               Proxy proxy)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getRemoteName()  | 
List<ByteBuffer> | 
readBuffers()
Called by the default definition of  
Transceiver.transceive(List). | 
void | 
setTimeout(int timeout)
Set the connect and read timeouts, in milliseconds. 
 | 
void | 
writeBuffers(List<ByteBuffer> buffers)
Called by  
Requestor.request(String,Object) for one-way messages. | 
close, getRemote, isConnected, lockChannel, setRemote, transceive, transceive, unlockChannelpublic HttpTransceiver(URL url)
public void setTimeout(int timeout)
public String getRemoteName()
getRemoteName in class Transceiverpublic List<ByteBuffer> readBuffers() throws IOException
TransceiverTransceiver.transceive(List).readBuffers in class TransceiverIOExceptionpublic void writeBuffers(List<ByteBuffer> buffers) throws IOException
TransceiverRequestor.request(String,Object) for one-way messages.writeBuffers in class TransceiverIOExceptionCopyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.