Home › Packages › http-1.0

Package http-1.0

This package contains 12 source unit(s) defining 12 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.

Http10Authorization #sleela 2.5 (lib/http-1.0/Http10Authorization.sleela)

Http10Authorization 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
principalIdString principalId = ""No description in source.
capabilityString capability = ""No description in source.
authenticatedboolean authenticated = falseNo description in source.
authorizedboolean authorized = falseNo description in source.
allowAnonymousHealthboolean allowAnonymousHealth = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
setPrincipalvoid setPrincipal(String id, boolean verified)No description in source.
grantCapabilityvoid grantCapability(String value)No description in source.
permitsProtectedRouteboolean permitsProtectedRoute()No description in source.
permitsHealthRouteboolean permitsHealthRoute()No description in source.

Http10ConnectionPolicy #sleela 2.5 (lib/http-1.0/Http10ConnectionPolicy.sleela)

Http10ConnectionPolicy 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
closeAfterResponseboolean closeAfterResponse = trueNo description in source.
rejectIncompleteBodyboolean rejectIncompleteBody = trueNo description in source.
rejectUnsupportedTransferEncodingboolean rejectUnsupportedTransferEncoding = trueNo description in source.
rejectDuplicateContentLengthboolean rejectDuplicateContentLength = trueNo description in source.
honorHeadWithoutSendingBodyboolean honorHeadWithoutSendingBody = trueNo description in source.
suppressBodyFor204boolean suppressBodyFor204 = trueNo description in source.
suppressBodyFor304boolean suppressBodyFor304 = trueNo description in source.
requestTimeoutMillisint requestTimeoutMillis = 10000No description in source.
bodyTimeoutMillisint bodyTimeoutMillis = 10000No description in source.
idleTimeoutMillisint idleTimeoutMillis = 10000No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
safeDefaultsboolean safeDefaults()No description in source.

Http10DownloadPolicy #sleela 2.5 (lib/http-1.0/Http10DownloadPolicy.sleela)

Http10DownloadPolicy 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
largeFileThresholdlong largeFileThreshold = 52428800No description in source.
requireAuthenticatedSessionboolean requireAuthenticatedSession = trueNo description in source.
bindResumeToFileIdentityboolean bindResumeToFileIdentity = trueNo description in source.
rejectPathSeparatorsboolean rejectPathSeparators = trueNo description in source.
rejectOffsetPastEndboolean rejectOffsetPastEnd = trueNo description in source.
verifyArtifactDigestboolean verifyArtifactDigest = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
requiresDownloadModeboolean requiresDownloadMode(long size)No description in source.
validRangeboolean validRange(long offset, long totalSize)No description in source.
safeDefaultsboolean safeDefaults()No description in source.

Http10DownloadState #sleela 2.5 (lib/http-1.0/Http10DownloadState.sleela)

Http10DownloadState 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.
indexlong index = 0No description in source.
offsetlong offset = 0No description in source.
totalSizelong totalSize = 0No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String session, String timestamp, String id,No description in source.
requiresDownloadModeboolean requiresDownloadMode(long size)No description in source.
isValidboolean isValid()No description in source.
remainingByteslong remainingBytes()No description in source.

Http10Limits #sleela 2.5 (lib/http-1.0/Http10Limits.sleela)

Http10Limits 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
maxHeaderBytesint maxHeaderBytes = 65536No description in source.
maxBodyByteslong maxBodyBytes = 8388608No description in source.
maxHeadersint maxHeaders = 64No description in source.
maxMethodBytesint maxMethodBytes = 16No description in source.
maxTargetBytesint maxTargetBytes = 8192No description in source.
maxHeaderNameBytesint maxHeaderNameBytes = 128No description in source.
maxHeaderValueBytesint maxHeaderValueBytes = 2048No description in source.
requestTimeoutMillisint requestTimeoutMillis = 10000No description in source.
idleTimeoutMillisint idleTimeoutMillis = 10000No description in source.
maxConcurrentConnectionsint maxConcurrentConnections = 1No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
isBoundedboolean isBounded()No description in source.

Http10Negotiation #sleela 2.5 (lib/http-1.0/Http10Negotiation.sleela)

Http10Negotiation 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
localGenerationString localGeneration = "1.0"No description in source.
peerGenerationString peerGeneration = ""No description in source.
peerAcceptString peerAccept = ""No description in source.
fallbackAllowedboolean fallbackAllowed = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
setPeerGenerationvoid setPeerGeneration(String value)No description in source.
setPeerAcceptvoid setPeerAccept(String value)No description in source.
allowFallbackvoid allowFallback(boolean value)No description in source.
generationString generation()No description in source.
acceptsHttp10boolean acceptsHttp10()No description in source.
acceptsHttp11boolean acceptsHttp11()No description in source.
canFallbackboolean canFallback()No description in source.
selectedGenerationString selectedGeneration()No description in source.
isNegotiatedboolean isNegotiated()No description in source.

Http10Request #sleela 2.5 (lib/http-1.0/Http10Request.sleela)

Http10Request 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 = "GET"No description in source.
targetString target = "/"No description in source.
protocolString protocol = "HTTP/1.0"No description in source.
logicalPortString logicalPort = ""No description in source.
serviceIdString serviceId = ""No description in source.
operationIdString operationId = ""No description in source.
bodyContentTypeString bodyContentType = ""No description in source.
bodyLengthlong bodyLength = 0No description in source.
validboolean valid = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
setMethodvoid setMethod(String value)No description in source.
setTargetvoid setTarget(String value)No description in source.
setLogicalPortvoid setLogicalPort(String value)No description in source.
setServiceIdvoid setServiceId(String value)No description in source.
setOperationIdvoid setOperationId(String value)No description in source.
setBodyvoid setBody(String contentType, long length)No description in source.
rejectvoid reject()No description in source.
isValidboolean isValid()No description in source.
isGetboolean isGet()No description in source.
isHeadboolean isHead()No description in source.
isPostboolean isPost()No description in source.
versionString version()No description in source.

Http10Response #sleela 2.5 (lib/http-1.0/Http10Response.sleela)

Http10Response 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
protocolString protocol = "HTTP/1.0"No description in source.
statusCodeint statusCode = 200No description in source.
reasonString reason = "OK"No description in source.
contentTypeString contentType = "text/plain; charset=utf-8"No description in source.
bodyString body = ""No description in source.
generationString generation = "1.0"No description in source.
acceptedGenerationsString acceptedGenerations = "1.0, 1.1"No description in source.
closeConnectionboolean closeConnection = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
setStatusvoid setStatus(int code, String phrase)No description in source.
setContentTypevoid setContentType(String value)No description in source.
setBodyvoid setBody(String value)No description in source.
setGenerationvoid setGeneration(String value)No description in source.
setAcceptedGenerationsvoid setAcceptedGenerations(String value)No description in source.
keepConnectionOpenvoid keepConnectionOpen(boolean value)No description in source.
isSuccessfulboolean isSuccessful()No description in source.
mustCloseConnectionboolean mustCloseConnection()No description in source.

Http10Route #sleela 2.5 (lib/http-1.0/Http10Route.sleela)

Http10Route 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
logicalPortString logicalPort = ""No description in source.
serviceIdString serviceId = ""No description in source.
operationIdString operationId = ""No description in source.
routeNameString routeName = ""No description in source.
enabledboolean enabled = trueNo description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
configurevoid configure(String port, String service, String operation, String name)No description in source.
isCompleteboolean isComplete()No description in source.
matchesboolean matches(String port, String service, String operation)No description in source.

Http10SecurityPolicy #sleela 2.5 (lib/http-1.0/Http10SecurityPolicy.sleela)

Http10SecurityPolicy 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
plaintextAllowedboolean plaintextAllowed = falseNo description in source.
trustedReverseProxyboolean trustedReverseProxy = falseNo description in source.
trustForwardedHeadersboolean trustForwardedHeaders = falseNo description in source.
redactCredentialsInLogsboolean redactCredentialsInLogs = trueNo description in source.
requireAuthorizationForProtectedRoutesboolean requireAuthorizationForProtectedRoutes = trueNo description in source.
validateRouteIdentifiersboolean validateRouteIdentifiers = trueNo description in source.
requireSha256ForDownloadedArtifactsboolean requireSha256ForDownloadedArtifacts = trueNo description in source.
tlsTerminationString tlsTermination = "external-or-native-tls-adapter"No description in source.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
isSafeForPublicExposureboolean isSafeForPublicExposure()No description in source.
mayTrustForwardedHeadersboolean mayTrustForwardedHeaders()No description in source.

Http10Validation #sleela 2.5 (lib/http-1.0/Http10Validation.sleela)

Http10Validation 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.

Methods — the actions this unit can perform.

MethodSignatureWhat it does
validMethodboolean validMethod(String value)No description in source.
validTargetboolean validTarget(String value)No description in source.
validProtocolboolean validProtocol(String value)No description in source.
validBodyLengthboolean validBodyLength(long value)No description in source.
validHeaderCountboolean validHeaderCount(int value)No description in source.
requiresNativeValidationboolean requiresNativeValidation()No description in source.

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

SLPackage class

Defines the SLeeLa standard-library package for http-1.0.

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.
availableboolean available()No description in source.