Package http-3.0
Http30Authorization #sleela 2.5 (lib/http-3.0/Http30Authorization.sleela)
Http30Authorization class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
principalId | String principalId = "" | No description in source. |
capability | String capability = "" | No description in source. |
authenticated | boolean authenticated = false | No description in source. |
authorized | boolean authorized = false | No description in source. |
allowAnonymousHealth | boolean allowAnonymousHealth = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setPrincipal | void setPrincipal(String id, boolean verified) | No description in source. |
grantCapability | void grantCapability(String value) | No description in source. |
permitsProtectedRoute | boolean permitsProtectedRoute() | No description in source. |
permitsHealthRoute | boolean permitsHealthRoute() | No description in source. |
Http30BasketPolicy #sleela 2.5 (lib/http-3.0/Http30BasketPolicy.sleela)
Http30BasketPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
itemCount | int itemCount = 14 | No description in source. |
isoNumericCurrency | int isoNumericCurrency = 840 | No description in source. |
blockBytes | int blockBytes = 172 | No description in source. |
requireCanonicalEncoding | boolean requireCanonicalEncoding = true | No description in source. |
requireMacCoverage | boolean requireMacCoverage = true | No description in source. |
valuesAreApplicationMetadata | boolean valuesAreApplicationMetadata = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validBlock | boolean validBlock(int count, int bytes, int currency) | No description in source. |
safeDefaults | boolean safeDefaults() | No description in source. |
Http30ConnectionPolicy #sleela 2.5 (lib/http-3.0/Http30ConnectionPolicy.sleela)
Http30ConnectionPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
closeAfterResponse | boolean closeAfterResponse = true | No description in source. |
rejectIncompleteBody | boolean rejectIncompleteBody = true | No description in source. |
rejectUnsupportedTransferEncoding | boolean rejectUnsupportedTransferEncoding = true | No description in source. |
rejectDuplicateContentLength | boolean rejectDuplicateContentLength = true | No description in source. |
honorHeadWithoutSendingBody | boolean honorHeadWithoutSendingBody = true | No description in source. |
suppressBodyFor204 | boolean suppressBodyFor204 = true | No description in source. |
suppressBodyFor304 | boolean suppressBodyFor304 = true | No description in source. |
requestTimeoutMillis | int requestTimeoutMillis = 10000 | No description in source. |
bodyTimeoutMillis | int bodyTimeoutMillis = 10000 | No description in source. |
idleTimeoutMillis | int idleTimeoutMillis = 10000 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
safeDefaults | boolean safeDefaults() | No description in source. |
Http30DownloadPolicy #sleela 2.5 (lib/http-3.0/Http30DownloadPolicy.sleela)
Http30DownloadPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
largeFileThreshold | long largeFileThreshold = 52428800 | No description in source. |
requireAuthenticatedSession | boolean requireAuthenticatedSession = true | No description in source. |
bindResumeToFileIdentity | boolean bindResumeToFileIdentity = true | No description in source. |
rejectPathSeparators | boolean rejectPathSeparators = true | No description in source. |
rejectOffsetPastEnd | boolean rejectOffsetPastEnd = true | No description in source. |
verifyArtifactDigest | boolean verifyArtifactDigest = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
requiresDownloadMode | boolean requiresDownloadMode(long size) | No description in source. |
validRange | boolean validRange(long offset, long totalSize) | No description in source. |
safeDefaults | boolean safeDefaults() | No description in source. |
Http30DownloadState #sleela 2.5 (lib/http-3.0/Http30DownloadState.sleela)
Http30DownloadState 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. |
index | long index = 0 | No description in source. |
offset | long offset = 0 | No description in source. |
totalSize | long totalSize = 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, | 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. |
Http30Envelope #sleela 2.5 (lib/http-3.0/Http30Envelope.sleela)
Http30Envelope class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
version | int version = 3 | 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. |
digest | String digest = "" | No description in source. |
intactx | long intactx = 0 | No description in source. |
basketHex | String basketHex = "" | No description in source. |
payload | String payload = "" | No description in source. |
textual | boolean textual = true | 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. |
Http30Handshake #sleela 2.5 (lib/http-3.0/Http30Handshake.sleela)
Http30Handshake 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 = 1 | No description in source. |
macVerified | boolean macVerified = false | No description in source. |
complete | boolean complete = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setLocalCapabilities | void setLocalCapabilities(int value) | No description in source. |
setPeerCapabilities | void setPeerCapabilities(int value) | No description in source. |
verifyOffer | void verifyOffer(boolean verified) | No description in source. |
negotiate | int negotiate() | No description in source. |
isComplete | boolean isComplete() | No description in source. |
Http30Integrity #sleela 2.5 (lib/http-3.0/Http30Integrity.sleela)
Http30Integrity 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. |
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. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
recordDigest | void recordDigest(boolean ok) | No description in source. |
recordNonce | void recordNonce(long nonce) | 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. |
permitsDispatch | boolean permitsDispatch() | No description in source. |
Http30Limits #sleela 2.5 (lib/http-3.0/Http30Limits.sleela)
Http30Limits 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. |
downloadResumeThresholdBytes | long downloadResumeThresholdBytes = 52428800 | 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. |
Http30Negotiation #sleela 2.5 (lib/http-3.0/Http30Negotiation.sleela)
Http30Negotiation class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
localGeneration | String localGeneration = "3.0" | No description in source. |
peerGeneration | String peerGeneration = "" | No description in source. |
peerAccept | String peerAccept = "" | No description in source. |
fallbackAllowed | boolean fallbackAllowed = true | No description in source. |
requireIntegrityForUpgrade | boolean requireIntegrityForUpgrade = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setPeerGeneration | void setPeerGeneration(String value) | No description in source. |
setPeerAccept | void setPeerAccept(String value) | No description in source. |
allowFallback | void allowFallback(boolean value) | No description in source. |
selectedGeneration | String selectedGeneration() | No description in source. |
isNegotiated | boolean isNegotiated() | No description in source. |
mayUpgradeWithIntegrity | boolean mayUpgradeWithIntegrity(boolean integrityReady) | No description in source. |
Http30Request #sleela 2.5 (lib/http-3.0/Http30Request.sleela)
Http30Request 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. |
protocol | String protocol = "HTTP/1.0" | No description in source. |
logicalPort | String logicalPort = "" | No description in source. |
serviceId | String serviceId = "" | No description in source. |
operationId | String operationId = "" | No description in source. |
bodyContentType | String bodyContentType = "" | 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. |
setServiceId | void setServiceId(String value) | No description in source. |
setOperationId | void setOperationId(String value) | No description in source. |
setBody | void setBody(String contentType, long length) | No description in source. |
reject | void reject() | No description in source. |
isValid | boolean isValid() | No description in source. |
isGet | boolean isGet() | No description in source. |
isHead | boolean isHead() | No description in source. |
isPost | boolean isPost() | No description in source. |
version | String version() | No description in source. |
Http30Response #sleela 2.5 (lib/http-3.0/Http30Response.sleela)
Http30Response class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
protocol | String protocol = "HTTP/1.0" | No description in source. |
statusCode | int statusCode = 200 | No description in source. |
reason | String reason = "OK" | No description in source. |
contentType | String contentType = "text/plain; charset=utf-8" | No description in source. |
body | String body = "" | No description in source. |
generation | String generation = "3.0" | No description in source. |
acceptedGenerations | String acceptedGenerations = "3.0, 2.1, 2.0" | No description in source. |
closeConnection | boolean closeConnection = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setStatus | void setStatus(int code, String phrase) | No description in source. |
setContentType | void setContentType(String value) | No description in source. |
setBody | void setBody(String value) | No description in source. |
setGeneration | void setGeneration(String value) | No description in source. |
setAcceptedGenerations | void setAcceptedGenerations(String value) | No description in source. |
keepConnectionOpen | void keepConnectionOpen(boolean value) | No description in source. |
isSuccessful | boolean isSuccessful() | No description in source. |
mustCloseConnection | boolean mustCloseConnection() | No description in source. |
Http30RetryPolicy #sleela 2.5 (lib/http-3.0/Http30RetryPolicy.sleela)
Http30RetryPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
retryClass | String retryClass = "READ" | No description in source. |
idempotencyKeyPresent | boolean idempotencyKeyPresent = false | No description in source. |
streamResumable | boolean streamResumable = false | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
setRetryClass | void setRetryClass(String value) | No description in source. |
setIdempotencyKeyPresent | void setIdempotencyKeyPresent(boolean value) | No description in source. |
setStreamResumable | void setStreamResumable(boolean value) | No description in source. |
mayRetryAfterUncertainFailure | boolean mayRetryAfterUncertainFailure() | No description in source. |
Http30Route #sleela 2.5 (lib/http-3.0/Http30Route.sleela)
Http30Route class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
logicalPort | String logicalPort = "" | No description in source. |
serviceId | String serviceId = "" | No description in source. |
operationId | String operationId = "" | No description in source. |
routeName | String routeName = "" | No description in source. |
enabled | boolean enabled = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(String port, String service, String operation, String name) | No description in source. |
isComplete | boolean isComplete() | No description in source. |
matches | boolean matches(String port, String service, String operation) | No description in source. |
Http30SecurityPolicy #sleela 2.5 (lib/http-3.0/Http30SecurityPolicy.sleela)
Http30SecurityPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
requireProtectedTransport | boolean requireProtectedTransport = true | No description in source. |
requireAuthenticatedPeer | boolean requireAuthenticatedPeer = true | No description in source. |
requireAuthorizationForProtectedRoutes | boolean requireAuthorizationForProtectedRoutes = true | No description in source. |
requireKeyedDigest | boolean requireKeyedDigest = true | No description in source. |
requireNonceReplayGuard | boolean requireNonceReplayGuard = true | No description in source. |
requireIntegrityCheck | boolean requireIntegrityCheck = true | No description in source. |
requireBasketValidation | boolean requireBasketValidation = true | No description in source. |
failClosedOnDowngrade | boolean failClosedOnDowngrade = true | No description in source. |
trustForwardedHeaders | boolean trustForwardedHeaders = false | No description in source. |
redactCredentialsInLogs | boolean redactCredentialsInLogs = true | No description in source. |
mac | String mac = "SipHash-2-4 per-connection keyed MAC (as documented in native core)" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
permitsProtectedRoute | boolean permitsProtectedRoute(boolean authenticated, boolean authorized, boolean digestValid, boolean nonceFresh, boolean intactxValid, boolean basketValid) | No description in source. |
safeDefaults | boolean safeDefaults() | No description in source. |
Http30TimingPolicy #sleela 2.5 (lib/http-3.0/Http30TimingPolicy.sleela)
Http30TimingPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
minimumGapNanos | long minimumGapNanos = 0 | No description in source. |
latenessNanos | long latenessNanos = 0 | No description in source. |
balanceNanos | long balanceNanos = 0 | No description in source. |
observedPackets | long observedPackets = 0 | No description in source. |
latePackets | long latePackets = 0 | No description in source. |
overRatePackets | long overRatePackets = 0 | No description in source. |
unbalancedPackets | long unbalancedPackets = 0 | No description in source. |
timingIsAdvisory | boolean timingIsAdvisory = true | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
configure | void configure(long minGap, long lateness, long balance) | No description in source. |
record | void record(long lateCount, long rateCount, long balanceCount) | No description in source. |
mayRejectOnTimingAlone | boolean mayRejectOnTimingAlone() | No description in source. |
Http30Validation #sleela 2.5 (lib/http-3.0/Http30Validation.sleela)
Http30Validation class
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
validMethod | boolean validMethod(String value) | No description in source. |
validTarget | boolean validTarget(String value) | No description in source. |
validProtocol | boolean validProtocol(String value) | No description in source. |
validBodyLength | boolean validBodyLength(long value) | No description in source. |
validHeaderCount | boolean validHeaderCount(int value) | No description in source. |
requiresNativeValidation | boolean requiresNativeValidation() | No description in source. |
SLPackage #sleela 2.5 (lib/http-3.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. |
nativeTransport | String nativeTransport() | No description in source. |
applicationEnvelopeAvailable | boolean applicationEnvelopeAvailable() | No description in source. |
keyedDigestAvailable | boolean keyedDigestAvailable() | No description in source. |
nonceReplayGuardAvailable | boolean nonceReplayGuardAvailable() | No description in source. |
intactxCheckAvailable | boolean intactxCheckAvailable() | No description in source. |
basketSchemaAvailable | boolean basketSchemaAvailable() | 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. |