E - The type of the local target.@NotThreadSafe public final class LazyOutputSocket<E extends Entry> extends DecoratingOutputSocket<E>
LazyInputSocket| Modifier and Type | Class and Description |
|---|---|
private class |
LazyOutputSocket.ProxyOutputStream |
| Constructor and Description |
|---|
LazyOutputSocket(OutputSocket<? extends E> output) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
newOutputStream()
Returns a proxy output stream which acquires its underlying output
stream upon the first read access.
|
getBoundSocket, getLocalTarget, getPeerTarget, toStringbind, connectpublic LazyOutputSocket(@NonNull
OutputSocket<? extends E> output)
public OutputStream newOutputStream() throws IOException
newOutputStream in class DecoratingOutputSocket<E extends Entry>FileNotFoundException - if the local target is not accessible
for some reason.IOException - on any other exceptional condition.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.