Package http-4.0
Http40DownloadState #sleela 2.5 (lib/http-4.0/Http40DownloadState.sleela)
Http40DownloadState class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
LARGE_FILE_THRESHOLD | long LARGE_FILE_THRESHOLD = 52428800 | No description in source. |
sessionId | String sessionId = "" | No description in source. |
dateTime | String dateTime = "" | No description in source. |
fileId | String fileId = "" | No description in source. |
fileName | String fileName = "" | No description in source. |
contentDigest | String contentDigest = "" | No description in source. |
expectedFileVersion | String expectedFileVersion = "" | No description in source. |
authorizedPrincipalId | String authorizedPrincipalId = "" | No description in source. |
authenticatedResumeToken | String authenticatedResumeToken = "" | No description in source. |
allChunksVerified | boolean allChunksVerified = false | No description in source. |
finalDigestVerified | boolean finalDigestVerified = false | No description in source. |
index | long index = 0 | No description in source. |
offset | long offset = 0 | No description in source. |
totalSize | long totalSize = 0 | No description in source. |
chunkSize | long chunkSize = 0 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String session, String timestamp, String id, String name, | No description in source. |
requiresDownloadMode | boolean requiresDownloadMode(long size) | No description in source. |
isValid | boolean isValid() | No description in source. |
remainingBytes | long remainingBytes() | No description in source. |
isComplete | boolean isComplete() | No description in source. |
hasResumeAuthorizationMetadata | boolean hasResumeAuthorizationMetadata() | No description in source. |
mayCommit | boolean mayCommit() | These flags are policy inputs, not cryptographic proof. Native code must verify token, principal, chunk hashes, and final digest before setting them. |
Http40Envelope #sleela 2.5 (lib/http-4.0/Http40Envelope.sleela)
Http40Envelope class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
version | int version = 4 | No description in source. |
flags | int flags = 0 | No description in source. |
serviceId | long serviceId = 0 | No description in source. |
operationId | long operationId = 0 | No description in source. |
requestId | long requestId = 0 | No description in source. |
nonce | long nonce = 0 | No description in source. |
logicalPort | String logicalPort = "" | No description in source. |
digestAlgorithm | String digestAlgorithm = "SIPHASH-2-4" | No description in source. |
digest | String digest = "" | No description in source. |
intactx | long intactx = 0 | No description in source. |
basketHex | String basketHex = "" | No description in source. |
sessionId | String sessionId = "" | No description in source. |
streamId | long streamId = 0 | No description in source. |
sequence | long sequence = 0 | No description in source. |
payloadLength | long payloadLength = 0 | No description in source. |
payload | String payload = "" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
isValid | boolean isValid() | No description in source. |
requiresIntegrityGate | boolean requiresIntegrityGate() | No description in source. |
Http40Integrity #sleela 2.5 (lib/http-4.0/Http40Integrity.sleela)
Http40Integrity class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
digestVerified | boolean digestVerified = false | No description in source. |
nonceFresh | boolean nonceFresh = false | No description in source. |
intactxWithinThreshold | boolean intactxWithinThreshold = false | No description in source. |
basketCanonical | boolean basketCanonical = false | No description in source. |
identityAuthorized | boolean identityAuthorized = false | No description in source. |
replayWindowInitialized | boolean replayWindowInitialized = false | No description in source. |
nonceHighWater | long nonceHighWater = 0 | No description in source. |
acceptedPackets | long acceptedPackets = 0 | No description in source. |
rejectedDigest | long rejectedDigest = 0 | No description in source. |
rejectedReplay | long rejectedReplay = 0 | No description in source. |
rejectedIntegrity | long rejectedIntegrity = 0 | No description in source. |
rejectedAuthorization | long rejectedAuthorization = 0 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
recordDigest | void recordDigest(boolean ok) | No description in source. |
acceptNonce | boolean acceptNonce(long nonce) | No description in source. |
recordIntactx | void recordIntactx(boolean ok) | No description in source. |
recordBasket | void recordBasket(boolean ok) | No description in source. |
recordAuthorization | void recordAuthorization(boolean ok) | No description in source. |
permitsDispatch | boolean permitsDispatch() | No description in source. |
Http40Limits #sleela 2.5 (lib/http-4.0/Http40Limits.sleela)
Http40Limits class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
maxEnvelopePayloadBytes | int maxEnvelopePayloadBytes = 4096 | No description in source. |
maxTextEnvelopeBytes | int maxTextEnvelopeBytes = 16384 | No description in source. |
maxServices | int maxServices = 64 | No description in source. |
maxOperationsPerService | int maxOperationsPerService = 64 | No description in source. |
maxNameBytes | int maxNameBytes = 63 | No description in source. |
maxBasketItems | int maxBasketItems = 14 | No description in source. |
macKeyBytes | int macKeyBytes = 16 | No description in source. |
digestBytes | int digestBytes = 8 | No description in source. |
intactxBytes | int intactxBytes = 8 | No description in source. |
nonceBytes | int nonceBytes = 8 | No description in source. |
basketBlockBytes | int basketBlockBytes = 172 | No description in source. |
requestTimeoutMillis | int requestTimeoutMillis = 10000 | No description in source. |
maxConcurrentStreams | int maxConcurrentStreams = 256 | No description in source. |
maxHeaderBytes | int maxHeaderBytes = 32768 | No description in source. |
maxQueuedRequests | int maxQueuedRequests = 1024 | No description in source. |
downloadResumeThresholdBytes | long downloadResumeThresholdBytes = 52428800 | No description in source. |
maxStreamBytes | long maxStreamBytes = 268435456 | No description in source. |
maxTotalBufferedBytes | long maxTotalBufferedBytes = 67108864 | No description in source. |
maxActiveTransfers | int maxActiveTransfers = 8 | No description in source. |
maxReassemblyBytes | long maxReassemblyBytes = 16777216 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validPayloadLength | boolean validPayloadLength(long n) | No description in source. |
validDictionarySize | boolean validDictionarySize(int services, int operations) | No description in source. |
validStreamCount | boolean validStreamCount(int streams) | No description in source. |
validHeaderLength | boolean validHeaderLength(int bytes) | No description in source. |
validStreamBytes | boolean validStreamBytes(long bytes) | No description in source. |
validBufferedBytes | boolean validBufferedBytes(long bytes) | No description in source. |
validActiveTransfers | boolean validActiveTransfers(int count) | No description in source. |
validReassemblyBytes | boolean validReassemblyBytes(long bytes) | No description in source. |
Http40Negotiation #sleela 2.5 (lib/http-4.0/Http40Negotiation.sleela)
Http40Negotiation class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
localCapabilities | int localCapabilities = 1 | No description in source. |
peerCapabilities | int peerCapabilities = 1 | No description in source. |
selectedLevel | int selectedLevel = 0 | No description in source. |
peerGeneration | int peerGeneration = 3 | No description in source. |
authenticatedOffer | boolean authenticatedOffer = false | No description in source. |
completed | boolean completed = false | No description in source. |
allowLegacy | boolean allowLegacy = false | Fail closed by default; callers must explicitly authorize legacy fallback. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setCapabilities | void setCapabilities(int localValue, int peerValue) | No description in source. |
setPeerGeneration | void setPeerGeneration(int value) | No description in source. |
authenticateOffer | void authenticateOffer(boolean value) | No description in source. |
negotiate | int negotiate() | No description in source. |
isComplete | boolean isComplete() | No description in source. |
selectedHttp40 | boolean selectedHttp40() | No description in source. |
Http40Request #sleela 2.5 (lib/http-4.0/Http40Request.sleela)
Http40Request class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
method | String method = "GET" | No description in source. |
target | String target = "/" | No description in source. |
carrierProtocol | String carrierProtocol = "HTTP/1.1" | No description in source. |
logicalPort | String logicalPort = "" | No description in source. |
sessionId | String sessionId = "" | No description in source. |
streamId | long streamId = 0 | No description in source. |
requestId | long requestId = 0 | No description in source. |
serviceId | long serviceId = 0 | No description in source. |
operationId | long operationId = 0 | No description in source. |
contentType | String contentType = "" | No description in source. |
bodyLength | long bodyLength = 0 | No description in source. |
valid | boolean valid = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setMethod | void setMethod(String value) | No description in source. |
setTarget | void setTarget(String value) | No description in source. |
setLogicalPort | void setLogicalPort(String value) | No description in source. |
setSession | void setSession(String value, long stream) | No description in source. |
setOperation | void setOperation(long service, long operation) | No description in source. |
setBody | void setBody(String type, long length) | No description in source. |
reject | void reject() | No description in source. |
isValid | boolean isValid() | No description in source. |
isReadOnly | boolean isReadOnly() | No description in source. |
Http40Response #sleela 2.5 (lib/http-4.0/Http40Response.sleela)
Http40Response class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
status | int status = 200 | No description in source. |
requestId | long requestId = 0 | No description in source. |
contentType | String contentType = "text/plain; charset=utf-8" | No description in source. |
result | String result = "" | No description in source. |
sessionId | String sessionId = "" | No description in source. |
streamId | long streamId = 0 | No description in source. |
sequence | long sequence = 0 | No description in source. |
endStream | boolean endStream = true | No description in source. |
integrityVerified | boolean integrityVerified = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setResult | void setResult(int code, String body) | No description in source. |
correlate | void correlate(long request, String session, long stream) | No description in source. |
isValid | boolean isValid() | No description in source. |
Http40StreamState #sleela 2.5 (lib/http-4.0/Http40StreamState.sleela)
Http40StreamState class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
sessionId | String sessionId = "" | No description in source. |
streamId | long streamId = 0 | No description in source. |
nextReceiveSequence | long nextReceiveSequence = 0 | No description in source. |
nextSendSequence | long nextSendSequence = 0 | No description in source. |
receivedBytes | long receivedBytes = 0 | No description in source. |
sentBytes | long sentBytes = 0 | No description in source. |
opened | boolean opened = false | No description in source. |
receiveClosed | boolean receiveClosed = false | No description in source. |
sendClosed | boolean sendClosed = false | No description in source. |
reset | boolean reset = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
open | void open(String session, long id) | No description in source. |
acceptReceiveSequence | boolean acceptReceiveSequence(long sequence) | No description in source. |
acceptSendSequence | boolean acceptSendSequence(long sequence) | No description in source. |
addReceivedBytes | boolean addReceivedBytes(long count) | No description in source. |
addSentBytes | boolean addSentBytes(long count) | No description in source. |
closeReceive | void closeReceive() | No description in source. |
closeSend | void closeSend() | No description in source. |
resetStream | void resetStream() | No description in source. |
isClosed | boolean isClosed() | No description in source. |
SLPackage #sleela 2.5 (lib/http-4.0/SLPackage.sleela)
SLPackage class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
packageName | String packageName | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String name) | No description in source. |
name | String name() | No description in source. |
generation | String generation() | No description in source. |
envelopeModelAvailable | boolean envelopeModelAvailable() | No description in source. |
sessionStreamModelAvailable | boolean sessionStreamModelAvailable() | No description in source. |
integrityGateModelAvailable | boolean integrityGateModelAvailable() | No description in source. |
authorizationGateModelAvailable | boolean authorizationGateModelAvailable() | No description in source. |
resumableDownloadModelAvailable | boolean resumableDownloadModelAvailable() | No description in source. |
boundedStreamPolicyAvailable | boolean boundedStreamPolicyAvailable() | No description in source. |
nativeHttp40TransportAvailable | boolean nativeHttp40TransportAvailable() | No description in source. |
iETFHttp3TransportAvailable | boolean iETFHttp3TransportAvailable() | No description in source. |
requiresProtectedTransport | boolean requiresProtectedTransport() | No description in source. |
available | boolean available() | No description in source. |