RemoteStreamManager instead@Deprecated public class RemoteStreamWriter extends Object implements StreamWriter
| Constructor and Description |
|---|
RemoteStreamWriter(RemoteStreamManager remoteStreamManager)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createStream()
Deprecated.
|
void |
send(byte[] content)
Deprecated.
|
void |
send(byte[] content,
int off,
int len)
Deprecated.
|
void |
send(ByteBuffer buffer)
Deprecated.
|
void |
send(Map<String,String> headers,
byte[] content)
Deprecated.
|
void |
send(Map<String,String> headers,
byte[] content,
int off,
int len)
Deprecated.
|
void |
send(Map<String,String> headers,
ByteBuffer buffer)
Deprecated.
|
void |
send(Map<String,String> headers,
String content)
Deprecated.
|
void |
send(String content)
Deprecated.
|
public RemoteStreamWriter(RemoteStreamManager remoteStreamManager)
public void createStream()
throws IOException
createStream in interface StreamWriterIOExceptionpublic void send(String content) throws IOException
send in interface StreamWriterIOExceptionpublic void send(byte[] content)
throws IOException
send in interface StreamWriterIOExceptionpublic void send(byte[] content,
int off,
int len)
throws IOException
send in interface StreamWriterIOExceptionpublic void send(ByteBuffer buffer) throws IOException
send in interface StreamWriterIOExceptionpublic void send(Map<String,String> headers, String content) throws IOException
send in interface StreamWriterIOExceptionpublic void send(Map<String,String> headers, byte[] content) throws IOException
send in interface StreamWriterIOExceptionpublic void send(Map<String,String> headers, byte[] content, int off, int len) throws IOException
send in interface StreamWriterIOExceptionpublic void send(Map<String,String> headers, ByteBuffer buffer) throws IOException
send in interface StreamWriterIOExceptionCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.