public class HttpStream extends CrtResource
| Modifier | Constructor and Description |
|---|---|
protected |
HttpStream(long ptr) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canReleaseReferencesImmediately()
Determines whether a resource releases its dependencies at the same time the native handle is released or if it waits.
|
int |
getResponseStatusCode()
Retrieves the Http Response Status Code
|
void |
incrementWindow(int windowSize)
Opens the Sliding Read/Write Window by the number of bytes passed as an argument for this HttpStream.
|
protected void |
releaseNativeHandle()
Cleans up the stream's associated native handle
|
acquireNativeHandle, addReferenceTo, close, collectNativeResources, getNativeHandle, isNativeResource, isNull, logNativeResources, releaseReferences, waitForNoResourcesprotected boolean canReleaseReferencesImmediately()
canReleaseReferencesImmediately in class CrtResourceprotected void releaseNativeHandle()
releaseNativeHandle in class CrtResourcepublic void incrementWindow(int windowSize)
windowSize - How many bytes to increment the sliding window by.public int getResponseStatusCode()
Copyright © 2019. All rights reserved.