public class HttpStream extends CrtResource
CrtResource.ResourceInstance
Modifier | Constructor and Description |
---|---|
protected |
HttpStream(long ptr) |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the client stream.
|
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, addRef, addReferenceTo, close, collectNativeResource, collectNativeResources, decRef, getNativeHandle, getResourceLogDescription, isNull, logNativeResources, releaseReferences, removeReferenceTo, setDescription, swapReferenceTo, waitForNoResources
protected boolean canReleaseReferencesImmediately()
canReleaseReferencesImmediately
in class CrtResource
protected void releaseNativeHandle()
releaseNativeHandle
in class CrtResource
public void incrementWindow(int windowSize)
windowSize
- How many bytes to increment the sliding window by.public void activate()
public int getResponseStatusCode()
Copyright © 2020. All rights reserved.