SleelaDoc API
HTML documentation for the SLeeLa standard library (/lib)
Home › Packages › http-5.0

Package http-5.0

This package contains 9 source unit(s) defining 9 class(es) / struct(s). Each unit below lists its fields (the values it stores) and methods (the actions it performs), with a plain explanation of each.

Http50DownloadState #sleela 2.5 (lib/http-5.0/Http50DownloadState.sleela)

Http50DownloadState class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
LARGE_FILE_THRESHOLDlong LARGE_FILE_THRESHOLD = 52428800No description in source.
sessionIdString sessionId = ""No description in source.
dateTimeString dateTime = ""No description in source.
fileIdString fileId = ""No description in source.
fileNameString fileName = ""No description in source.
contentDigestString contentDigest = ""No description in source.
expectedFileVersionString expectedFileVersion = ""No description in source.
authorizedPrincipalIdString authorizedPrincipalId = ""No description in source.
authenticatedResumeTokenString authenticatedResumeToken = ""No description in source.
indexlong index = 0No description in source.
offsetlong offset = 0No description in source.
totalSizelong totalSize = 0No description in source.
chunkSizelong chunkSize = 0No description in source.
allChunksVerifiedboolean allChunksVerified = falseNo description in source.
finalDigestVerifiedboolean finalDigestVerified = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String session, String timestamp, String id, String name,No description in source.
requiresDownloadModeboolean requiresDownloadMode(long size)No description in source.
isValidboolean isValid()No description in source.
remainingByteslong remainingBytes()No description in source.
isCompleteboolean isComplete()No description in source.
hasResumeAuthorizationMetadataboolean hasResumeAuthorizationMetadata()No description in source.
mayCommitboolean mayCommit()No description in source.
requiresNativeAuthenticationAndPersistenceboolean requiresNativeAuthenticationAndPersistence()No description in source.

Http50Frame #sleela 2.5 (lib/http-5.0/Http50Frame.sleela)

Http50Frame class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
versionint version = 5No description in source.
typeint type = 0No description in source.
flagsint flags = 0No description in source.
streamIdlong streamId = 0No description in source.
requestIdlong requestId = 0No description in source.
sequencelong sequence = 0No description in source.
payloadLengthlong payloadLength = 0No description in source.
payloadString payload = ""No description in source.
FLAG_FINint FLAG_FIN = 1No description in source.
FLAG_ACKint FLAG_ACK = 2No description in source.
FLAG_URGENTint FLAG_URGENT = 4No description in source.
FLAG_INCREMENTALint FLAG_INCREMENTAL = 8No description in source.
FLAG_RESUMABLEint FLAG_RESUMABLE = 16No description in source.
FLAG_OPTIONALint FLAG_OPTIONAL = 32No description in source.
DEFINED_FLAGSint DEFINED_FLAGS = 63No description in source.
TYPE_OPENint TYPE_OPEN = 1No description in source.
TYPE_DATAint TYPE_DATA = 2No description in source.
TYPE_ENDint TYPE_END = 3No description in source.
TYPE_RESETint TYPE_RESET = 4No description in source.
TYPE_WINDOWint TYPE_WINDOW = 5No description in source.
TYPE_PINGint TYPE_PING = 6No description in source.
TYPE_PONGint TYPE_PONG = 7No description in source.
TYPE_RESUMEint TYPE_RESUME = 8No description in source.
TYPE_CAPSULEint TYPE_CAPSULE = 9No description in source.
TYPE_FRIENDS_PACKint TYPE_FRIENDS_PACK = 10No description in source.
TYPE_BONUS_OFFERint TYPE_BONUS_OFFER = 11No description in source.
TYPE_FP_UPDATEint TYPE_FP_UPDATE = 12No description in source.
TYPE_AUDITint TYPE_AUDIT = 13No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
hasKnownTypeboolean hasKnownType()No description in source.
hasOnlyDefinedFlagsboolean hasOnlyDefinedFlags()No description in source.
isValidboolean isValid()No description in source.
requiresNativeCodecValidationboolean requiresNativeCodecValidation()No description in source.

Http50FriendsPack #sleela 2.5 (lib/http-5.0/Http50FriendsPack.sleela)

Http50FriendsPack class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
ownerIdString ownerId = ""No description in source.
friendIdString friendId = ""No description in source.
pointslong points = 0No description in source.
fpRemaininglong fpRemaining = 0No description in source.
bonusOfferIdlong bonusOfferId = 0No description in source.
ownerAuthorizedboolean ownerAuthorized = falseNo description in source.
auditRequiredboolean auditRequired = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String owner, String friend, long value, long remaining)No description in source.
canOfferboolean canOffer(long cost)No description in source.
consumeboolean consume(long cost)No description in source.
isValidboolean isValid()No description in source.
grantsAuthorizationboolean grantsAuthorization()No description in source.
requiresNativeAuditAndAuthorizationboolean requiresNativeAuditAndAuthorization()No description in source.

Http50Limits #sleela 2.5 (lib/http-5.0/Http50Limits.sleela)

Http50Limits class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
frameHeaderBytesint frameHeaderBytes = 32No description in source.
maxFramePayloadByteslong maxFramePayloadBytes = 16777216No description in source.
maxHttpBodyByteslong maxHttpBodyBytes = 16777248No description in source.
maxHeaderBytesint maxHeaderBytes = 32768No description in source.
maxConcurrentStreamsint maxConcurrentStreams = 128No description in source.
maxQueuedRequestsint maxQueuedRequests = 512No description in source.
requestTimeoutMillisint requestTimeoutMillis = 10000No description in source.
maxStreamByteslong maxStreamBytes = 268435456No description in source.
maxTotalBufferedByteslong maxTotalBufferedBytes = 67108864No description in source.
maxActiveTransfersint maxActiveTransfers = 8No description in source.
maxReassemblyByteslong maxReassemblyBytes = 16777216No description in source.
maxWindowByteslong maxWindowBytes = 268435456No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validFramePayloadboolean validFramePayload(long n)No description in source.
validHttpBodyboolean validHttpBody(long n)No description in source.
validHeaderLengthboolean validHeaderLength(int n)No description in source.
validStreamCountboolean validStreamCount(int n)No description in source.
validQueuedRequestsboolean validQueuedRequests(int n)No description in source.
validStreamBytesboolean validStreamBytes(long n)No description in source.
validBufferedBytesboolean validBufferedBytes(long n)No description in source.
validActiveTransfersboolean validActiveTransfers(int n)No description in source.
validReassemblyBytesboolean validReassemblyBytes(long n)No description in source.
validWindowboolean validWindow(long n)No description in source.

Http50Negotiation #sleela 2.5 (lib/http-5.0/Http50Negotiation.sleela)

Http50Negotiation class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
localGenerationint localGeneration = 5No description in source.
peerGenerationint peerGeneration = 0No description in source.
localCapabilitiesint localCapabilities = 0No description in source.
peerCapabilitiesint peerCapabilities = 0No description in source.
selectedGenerationint selectedGeneration = 0No description in source.
authenticatedCarrierboolean authenticatedCarrier = falseNo description in source.
allowLegacyFallbackboolean allowLegacyFallback = falseNo description in source.
completedboolean completed = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
setPeervoid setPeer(int generation, int capabilities)No description in source.
setLocalCapabilitiesvoid setLocalCapabilities(int capabilities)No description in source.
markAuthenticatedCarriervoid markAuthenticatedCarrier(boolean value)No description in source.
negotiateint negotiate()No description in source.
isCompleteboolean isComplete()No description in source.
selectedHttp50boolean selectedHttp50()No description in source.
requiresTranscriptBindingboolean requiresTranscriptBinding()No description in source.

Http50Request #sleela 2.5 (lib/http-5.0/Http50Request.sleela)

Http50Request class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
methodString method = "POST"No description in source.
targetString target = "/__sleela/h5"No description in source.
carrierProtocolString carrierProtocol = "HTTP/1.1"No description in source.
contentTypeString contentType = "application/octet-stream"No description in source.
sessionIdString sessionId = ""No description in source.
requestIdlong requestId = 0No description in source.
bodyLengthlong bodyLength = 0No description in source.
validboolean valid = trueNo description in source.
contentLengthPresentboolean contentLengthPresent = falseNo description in source.
transferEncodingPresentboolean transferEncodingPresent = falseNo description in source.
duplicateContentLengthboolean duplicateContentLength = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
setTargetvoid setTarget(String value)No description in source.
setSessionvoid setSession(String value, long request)No description in source.
setBodyvoid setBody(long length, boolean hasLength)No description in source.
setTransferEncodingvoid setTransferEncoding(boolean value)No description in source.
markDuplicateContentLengthvoid markDuplicateContentLength()No description in source.
rejectvoid reject()No description in source.
isValidboolean isValid()No description in source.
requiresNativeHttpParserboolean requiresNativeHttpParser()No description in source.

Http50Response #sleela 2.5 (lib/http-5.0/Http50Response.sleela)

Http50Response class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
statusint status = 200No description in source.
contentTypeString contentType = "application/octet-stream"No description in source.
sessionIdString sessionId = ""No description in source.
requestIdlong requestId = 0No description in source.
bodyLengthlong bodyLength = 0No description in source.
frameAcceptedboolean frameAccepted = falseNo description in source.
integrityVerifiedboolean integrityVerified = falseNo description in source.
endStreamboolean endStream = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
correlatevoid correlate(String session, long request)No description in source.
setResultvoid setResult(int code, long length)No description in source.
isValidboolean isValid()No description in source.
mayClaimIntegrityVerifiedboolean mayClaimIntegrityVerified()No description in source.

Http50StreamState #sleela 2.5 (lib/http-5.0/Http50StreamState.sleela)

Http50StreamState class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
sessionIdString sessionId = ""No description in source.
streamIdlong streamId = 0No description in source.
nextReceiveSequencelong nextReceiveSequence = 0No description in source.
nextSendSequencelong nextSendSequence = 0No description in source.
receivedByteslong receivedBytes = 0No description in source.
sentByteslong sentBytes = 0No description in source.
receiveWindowlong receiveWindow = 0No description in source.
sendWindowlong sendWindow = 0No description in source.
openedboolean opened = falseNo description in source.
receiveClosedboolean receiveClosed = falseNo description in source.
sendClosedboolean sendClosed = falseNo description in source.
resetboolean reset = falseNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
openvoid open(String session, long id, long receiveLimit, long sendLimit)No description in source.
acceptReceiveSequenceboolean acceptReceiveSequence(long value)No description in source.
acceptSendSequenceboolean acceptSendSequence(long value)No description in source.
addReceivedBytesboolean addReceivedBytes(long count)No description in source.
addSentBytesboolean addSentBytes(long count)No description in source.
updateReceiveWindowboolean updateReceiveWindow(long amount)No description in source.
updateSendWindowboolean updateSendWindow(long amount)No description in source.
closeReceivevoid closeReceive()No description in source.
closeSendvoid closeSend()No description in source.
resetStreamvoid resetStream()No description in source.
isClosedboolean isClosed()No description in source.

SLPackage #sleela 2.5 (lib/http-5.0/SLPackage.sleela)

SLPackage class

Carries the standard Metadata Class record — eleven catalogued provenance attributes (version, id, author, date, copyright, trademark, corporation, origin, birth date, science rating, national schedule) with matching get/set accessors. These are omitted from the tables below for brevity.

Fields — the named values this unit stores.

FieldDeclarationWhat it holds
packageNameString packageNameNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String name)No description in source.
nameString name()No description in source.
generationString generation()No description in source.
frameEnvelopeModelAvailableboolean frameEnvelopeModelAvailable()No description in source.
requestResponseModelsAvailableboolean requestResponseModelsAvailable()No description in source.
negotiationPolicyModelAvailableboolean negotiationPolicyModelAvailable()No description in source.
streamStateAndWindowModelAvailableboolean streamStateAndWindowModelAvailable()No description in source.
downloadMetadataModelAvailableboolean downloadMetadataModelAvailable()No description in source.
friendsPackModelAvailableboolean friendsPackModelAvailable()No description in source.
strictFrameFlagValidationAvailableboolean strictFrameFlagValidationAvailable()No description in source.
strictDownloadMetadataParserAvailableboolean strictDownloadMetadataParserAvailable()No description in source.
explicitResourceLimitsModelAvailableboolean explicitResourceLimitsModelAvailable()No description in source.
completeFramePayloadSchemasAvailableboolean completeFramePayloadSchemasAvailable()No description in source.
integratedStreamStateMachineAvailableboolean integratedStreamStateMachineAvailable()No description in source.
enforcedFlowControlAvailableboolean enforcedFlowControlAvailable()No description in source.
authenticatedCarrierAvailableboolean authenticatedCarrierAvailable()No description in source.
nativeHttp3QuicAvailableboolean nativeHttp3QuicAvailable()No description in source.
durableResumeAvailableboolean durableResumeAvailable()No description in source.
productionReadyboolean productionReady()No description in source.
requiresProtectedTransportboolean requiresProtectedTransport()No description in source.
availableboolean available()No description in source.