Package http-5.0
Http50DownloadState #sleela 2.5 (lib/http-5.0/Http50DownloadState.sleela)
Http50DownloadState 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. |
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. |
allChunksVerified | boolean allChunksVerified = false | No description in source. |
finalDigestVerified | boolean finalDigestVerified = false | 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() | No description in source. |
requiresNativeAuthenticationAndPersistence | boolean requiresNativeAuthenticationAndPersistence() | No description in source. |
Http50Frame #sleela 2.5 (lib/http-5.0/Http50Frame.sleela)
Http50Frame class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
version | int version = 5 | No description in source. |
type | int type = 0 | No description in source. |
flags | int flags = 0 | No description in source. |
streamId | long streamId = 0 | No description in source. |
requestId | long requestId = 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. |
FLAG_FIN | int FLAG_FIN = 1 | No description in source. |
FLAG_ACK | int FLAG_ACK = 2 | No description in source. |
FLAG_URGENT | int FLAG_URGENT = 4 | No description in source. |
FLAG_INCREMENTAL | int FLAG_INCREMENTAL = 8 | No description in source. |
FLAG_RESUMABLE | int FLAG_RESUMABLE = 16 | No description in source. |
FLAG_OPTIONAL | int FLAG_OPTIONAL = 32 | No description in source. |
DEFINED_FLAGS | int DEFINED_FLAGS = 63 | No description in source. |
TYPE_OPEN | int TYPE_OPEN = 1 | No description in source. |
TYPE_DATA | int TYPE_DATA = 2 | No description in source. |
TYPE_END | int TYPE_END = 3 | No description in source. |
TYPE_RESET | int TYPE_RESET = 4 | No description in source. |
TYPE_WINDOW | int TYPE_WINDOW = 5 | No description in source. |
TYPE_PING | int TYPE_PING = 6 | No description in source. |
TYPE_PONG | int TYPE_PONG = 7 | No description in source. |
TYPE_RESUME | int TYPE_RESUME = 8 | No description in source. |
TYPE_CAPSULE | int TYPE_CAPSULE = 9 | No description in source. |
TYPE_FRIENDS_PACK | int TYPE_FRIENDS_PACK = 10 | No description in source. |
TYPE_BONUS_OFFER | int TYPE_BONUS_OFFER = 11 | No description in source. |
TYPE_FP_UPDATE | int TYPE_FP_UPDATE = 12 | No description in source. |
TYPE_AUDIT | int TYPE_AUDIT = 13 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
hasKnownType | boolean hasKnownType() | No description in source. |
hasOnlyDefinedFlags | boolean hasOnlyDefinedFlags() | No description in source. |
isValid | boolean isValid() | No description in source. |
requiresNativeCodecValidation | boolean requiresNativeCodecValidation() | No description in source. |
Http50FriendsPack #sleela 2.5 (lib/http-5.0/Http50FriendsPack.sleela)
Http50FriendsPack class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
ownerId | String ownerId = "" | No description in source. |
friendId | String friendId = "" | No description in source. |
points | long points = 0 | No description in source. |
fpRemaining | long fpRemaining = 0 | No description in source. |
bonusOfferId | long bonusOfferId = 0 | No description in source. |
ownerAuthorized | boolean ownerAuthorized = false | No description in source. |
auditRequired | boolean auditRequired = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String owner, String friend, long value, long remaining) | No description in source. |
canOffer | boolean canOffer(long cost) | No description in source. |
consume | boolean consume(long cost) | No description in source. |
isValid | boolean isValid() | No description in source. |
grantsAuthorization | boolean grantsAuthorization() | No description in source. |
requiresNativeAuditAndAuthorization | boolean requiresNativeAuditAndAuthorization() | No description in source. |
Http50Limits #sleela 2.5 (lib/http-5.0/Http50Limits.sleela)
Http50Limits class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
frameHeaderBytes | int frameHeaderBytes = 32 | No description in source. |
maxFramePayloadBytes | long maxFramePayloadBytes = 16777216 | No description in source. |
maxHttpBodyBytes | long maxHttpBodyBytes = 16777248 | No description in source. |
maxHeaderBytes | int maxHeaderBytes = 32768 | No description in source. |
maxConcurrentStreams | int maxConcurrentStreams = 128 | No description in source. |
maxQueuedRequests | int maxQueuedRequests = 512 | No description in source. |
requestTimeoutMillis | int requestTimeoutMillis = 10000 | 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. |
maxWindowBytes | long maxWindowBytes = 268435456 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validFramePayload | boolean validFramePayload(long n) | No description in source. |
validHttpBody | boolean validHttpBody(long n) | No description in source. |
validHeaderLength | boolean validHeaderLength(int n) | No description in source. |
validStreamCount | boolean validStreamCount(int n) | No description in source. |
validQueuedRequests | boolean validQueuedRequests(int n) | No description in source. |
validStreamBytes | boolean validStreamBytes(long n) | No description in source. |
validBufferedBytes | boolean validBufferedBytes(long n) | No description in source. |
validActiveTransfers | boolean validActiveTransfers(int n) | No description in source. |
validReassemblyBytes | boolean validReassemblyBytes(long n) | No description in source. |
validWindow | boolean validWindow(long n) | No description in source. |
Http50Negotiation #sleela 2.5 (lib/http-5.0/Http50Negotiation.sleela)
Http50Negotiation class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
localGeneration | int localGeneration = 5 | No description in source. |
peerGeneration | int peerGeneration = 0 | No description in source. |
localCapabilities | int localCapabilities = 0 | No description in source. |
peerCapabilities | int peerCapabilities = 0 | No description in source. |
selectedGeneration | int selectedGeneration = 0 | No description in source. |
authenticatedCarrier | boolean authenticatedCarrier = false | No description in source. |
allowLegacyFallback | boolean allowLegacyFallback = false | No description in source. |
completed | boolean completed = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setPeer | void setPeer(int generation, int capabilities) | No description in source. |
setLocalCapabilities | void setLocalCapabilities(int capabilities) | No description in source. |
markAuthenticatedCarrier | void markAuthenticatedCarrier(boolean value) | No description in source. |
negotiate | int negotiate() | No description in source. |
isComplete | boolean isComplete() | No description in source. |
selectedHttp50 | boolean selectedHttp50() | No description in source. |
requiresTranscriptBinding | boolean requiresTranscriptBinding() | No description in source. |
Http50Request #sleela 2.5 (lib/http-5.0/Http50Request.sleela)
Http50Request class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
method | String method = "POST" | No description in source. |
target | String target = "/__sleela/h5" | No description in source. |
carrierProtocol | String carrierProtocol = "HTTP/1.1" | No description in source. |
contentType | String contentType = "application/octet-stream" | No description in source. |
sessionId | String sessionId = "" | No description in source. |
requestId | long requestId = 0 | No description in source. |
bodyLength | long bodyLength = 0 | No description in source. |
valid | boolean valid = true | No description in source. |
contentLengthPresent | boolean contentLengthPresent = false | No description in source. |
transferEncodingPresent | boolean transferEncodingPresent = false | No description in source. |
duplicateContentLength | boolean duplicateContentLength = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setTarget | void setTarget(String value) | No description in source. |
setSession | void setSession(String value, long request) | No description in source. |
setBody | void setBody(long length, boolean hasLength) | No description in source. |
setTransferEncoding | void setTransferEncoding(boolean value) | No description in source. |
markDuplicateContentLength | void markDuplicateContentLength() | No description in source. |
reject | void reject() | No description in source. |
isValid | boolean isValid() | No description in source. |
requiresNativeHttpParser | boolean requiresNativeHttpParser() | No description in source. |
Http50Response #sleela 2.5 (lib/http-5.0/Http50Response.sleela)
Http50Response class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
status | int status = 200 | No description in source. |
contentType | String contentType = "application/octet-stream" | No description in source. |
sessionId | String sessionId = "" | No description in source. |
requestId | long requestId = 0 | No description in source. |
bodyLength | long bodyLength = 0 | No description in source. |
frameAccepted | boolean frameAccepted = false | No description in source. |
integrityVerified | boolean integrityVerified = false | No description in source. |
endStream | boolean endStream = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
correlate | void correlate(String session, long request) | No description in source. |
setResult | void setResult(int code, long length) | No description in source. |
isValid | boolean isValid() | No description in source. |
mayClaimIntegrityVerified | boolean mayClaimIntegrityVerified() | No description in source. |
Http50StreamState #sleela 2.5 (lib/http-5.0/Http50StreamState.sleela)
Http50StreamState 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. |
receiveWindow | long receiveWindow = 0 | No description in source. |
sendWindow | long sendWindow = 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, long receiveLimit, long sendLimit) | No description in source. |
acceptReceiveSequence | boolean acceptReceiveSequence(long value) | No description in source. |
acceptSendSequence | boolean acceptSendSequence(long value) | No description in source. |
addReceivedBytes | boolean addReceivedBytes(long count) | No description in source. |
addSentBytes | boolean addSentBytes(long count) | No description in source. |
updateReceiveWindow | boolean updateReceiveWindow(long amount) | No description in source. |
updateSendWindow | boolean updateSendWindow(long amount) | 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-5.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. |
frameEnvelopeModelAvailable | boolean frameEnvelopeModelAvailable() | No description in source. |
requestResponseModelsAvailable | boolean requestResponseModelsAvailable() | No description in source. |
negotiationPolicyModelAvailable | boolean negotiationPolicyModelAvailable() | No description in source. |
streamStateAndWindowModelAvailable | boolean streamStateAndWindowModelAvailable() | No description in source. |
downloadMetadataModelAvailable | boolean downloadMetadataModelAvailable() | No description in source. |
friendsPackModelAvailable | boolean friendsPackModelAvailable() | No description in source. |
strictFrameFlagValidationAvailable | boolean strictFrameFlagValidationAvailable() | No description in source. |
strictDownloadMetadataParserAvailable | boolean strictDownloadMetadataParserAvailable() | No description in source. |
explicitResourceLimitsModelAvailable | boolean explicitResourceLimitsModelAvailable() | No description in source. |
completeFramePayloadSchemasAvailable | boolean completeFramePayloadSchemasAvailable() | No description in source. |
integratedStreamStateMachineAvailable | boolean integratedStreamStateMachineAvailable() | No description in source. |
enforcedFlowControlAvailable | boolean enforcedFlowControlAvailable() | No description in source. |
authenticatedCarrierAvailable | boolean authenticatedCarrierAvailable() | No description in source. |
nativeHttp3QuicAvailable | boolean nativeHttp3QuicAvailable() | No description in source. |
durableResumeAvailable | boolean durableResumeAvailable() | No description in source. |
productionReady | boolean productionReady() | No description in source. |
requiresProtectedTransport | boolean requiresProtectedTransport() | No description in source. |
available | boolean available() | No description in source. |