public abstract class NettyResponseBodyPart extends Object implements HttpResponseBodyPart
Constructor and Description |
---|
NettyResponseBodyPart(boolean last) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLast() |
boolean |
isUnderlyingConnectionToBeClosed() |
void |
markUnderlyingConnectionAsToBeClosed()
Close the underlying connection once the processing has completed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBodyByteBuffer, getBodyPartBytes, length
public boolean isLast()
isLast
in interface HttpResponseBodyPart
public void markUnderlyingConnectionAsToBeClosed()
markUnderlyingConnectionAsToBeClosed
in interface HttpResponseBodyPart
public boolean isUnderlyingConnectionToBeClosed()
isUnderlyingConnectionToBeClosed
in interface HttpResponseBodyPart
Copyright © 2015. All Rights Reserved.