public abstract class NettyResponseBodyPart extends HttpResponseBodyPart
Constructor and Description |
---|
NettyResponseBodyPart(boolean last) |
Modifier and Type | Method and Description |
---|---|
boolean |
isLast()
Return true if this is the last part.
|
boolean |
isUnderlyingConnectionToBeClosed()
Return true of the underlying connection will be closed once the response has been fully processed.
|
void |
markUnderlyingConnectionAsToBeClosed()
Close the underlying connection once the processing has completed.
|
getBodyByteBuffer, getBodyPartBytes, length, readBodyPartBytes, writeTo
public boolean isLast()
isLast
in class HttpResponseBodyPart
public void markUnderlyingConnectionAsToBeClosed()
markUnderlyingConnectionAsToBeClosed
in class HttpResponseBodyPart
public boolean isUnderlyingConnectionToBeClosed()
isUnderlyingConnectionToBeClosed
in class HttpResponseBodyPart
Copyright © 2015. All Rights Reserved.