Package http-1.0
Http10Authorization #sleela 2.5 (lib/http-1.0/Http10Authorization.sleela)
Http10Authorization 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. |
Http10ConnectionPolicy #sleela 2.5 (lib/http-1.0/Http10ConnectionPolicy.sleela)
Http10ConnectionPolicy 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. |
Http10DownloadPolicy #sleela 2.5 (lib/http-1.0/Http10DownloadPolicy.sleela)
Http10DownloadPolicy 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. |
Http10DownloadState #sleela 2.5 (lib/http-1.0/Http10DownloadState.sleela)
Http10DownloadState 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. |
Http10Limits #sleela 2.5 (lib/http-1.0/Http10Limits.sleela)
Http10Limits class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
maxHeaderBytes | int maxHeaderBytes = 65536 | No description in source. |
maxBodyBytes | long maxBodyBytes = 8388608 | No description in source. |
maxHeaders | int maxHeaders = 64 | No description in source. |
maxMethodBytes | int maxMethodBytes = 16 | No description in source. |
maxTargetBytes | int maxTargetBytes = 8192 | No description in source. |
maxHeaderNameBytes | int maxHeaderNameBytes = 128 | No description in source. |
maxHeaderValueBytes | int maxHeaderValueBytes = 2048 | No description in source. |
requestTimeoutMillis | int requestTimeoutMillis = 10000 | No description in source. |
idleTimeoutMillis | int idleTimeoutMillis = 10000 | No description in source. |
maxConcurrentConnections | int maxConcurrentConnections = 1 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
isBounded | boolean isBounded() | No description in source. |
Http10Negotiation #sleela 2.5 (lib/http-1.0/Http10Negotiation.sleela)
Http10Negotiation class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
localGeneration | String localGeneration = "1.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. |
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. |
generation | String generation() | No description in source. |
acceptsHttp10 | boolean acceptsHttp10() | No description in source. |
acceptsHttp11 | boolean acceptsHttp11() | No description in source. |
canFallback | boolean canFallback() | No description in source. |
selectedGeneration | String selectedGeneration() | No description in source. |
isNegotiated | boolean isNegotiated() | No description in source. |
Http10Request #sleela 2.5 (lib/http-1.0/Http10Request.sleela)
Http10Request 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. |
Http10Response #sleela 2.5 (lib/http-1.0/Http10Response.sleela)
Http10Response 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 = "1.0" | No description in source. |
acceptedGenerations | String acceptedGenerations = "1.0, 1.1" | 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. |
Http10Route #sleela 2.5 (lib/http-1.0/Http10Route.sleela)
Http10Route 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. |
Http10SecurityPolicy #sleela 2.5 (lib/http-1.0/Http10SecurityPolicy.sleela)
Http10SecurityPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
plaintextAllowed | boolean plaintextAllowed = false | No description in source. |
trustedReverseProxy | boolean trustedReverseProxy = false | No description in source. |
trustForwardedHeaders | boolean trustForwardedHeaders = false | No description in source. |
redactCredentialsInLogs | boolean redactCredentialsInLogs = true | No description in source. |
requireAuthorizationForProtectedRoutes | boolean requireAuthorizationForProtectedRoutes = true | No description in source. |
validateRouteIdentifiers | boolean validateRouteIdentifiers = true | No description in source. |
requireSha256ForDownloadedArtifacts | boolean requireSha256ForDownloadedArtifacts = true | No description in source. |
tlsTermination | String tlsTermination = "external-or-native-tls-adapter" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
isSafeForPublicExposure | boolean isSafeForPublicExposure() | No description in source. |
mayTrustForwardedHeaders | boolean mayTrustForwardedHeaders() | No description in source. |
Http10Validation #sleela 2.5 (lib/http-1.0/Http10Validation.sleela)
Http10Validation 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-1.0/SLPackage.sleela)
SLPackage class
Defines the SLeeLa standard-library package for http-1.0.
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. |
available | boolean available() | No description in source. |