Package http-2.0
Http21Authorization #sleela 2.5 (lib/http-2.0/Http21Authorization.sleela)
Http21Authorization 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. |
Http21ConnectionPolicy #sleela 2.5 (lib/http-2.0/Http21ConnectionPolicy.sleela)
Http21ConnectionPolicy 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. |
Http21DownloadPolicy #sleela 2.5 (lib/http-2.0/Http21DownloadPolicy.sleela)
Http21DownloadPolicy 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. |
Http21DownloadState #sleela 2.5 (lib/http-2.0/Http21DownloadState.sleela)
Http21DownloadState 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. |
Http21Limits #sleela 2.5 (lib/http-2.0/Http21Limits.sleela)
Http21Limits class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
maxHeaderBytes | int maxHeaderBytes = 65536 | No description in source. |
maxHeaders | int maxHeaders = 100 | No description in source. |
maxHeaderNameBytes | int maxHeaderNameBytes = 255 | No description in source. |
maxHeaderValueBytes | int maxHeaderValueBytes = 8191 | No description in source. |
maxBodyBytes | int maxBodyBytes = 8388608 | No description in source. |
maxEnvelopePayloadBytes | int maxEnvelopePayloadBytes = 4096 | No description in source. |
maxNameBytes | int maxNameBytes = 63 | No description in source. |
maxServices | int maxServices = 64 | No description in source. |
maxOperationsPerService | int maxOperationsPerService = 64 | No description in source. |
downloadResumeThresholdBytes | long downloadResumeThresholdBytes = 52428800 | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
limitsEnabled | boolean limitsEnabled() | No description in source. |
Http21Negotiation #sleela 2.5 (lib/http-2.0/Http21Negotiation.sleela)
Http21Negotiation class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
localGeneration | String localGeneration = "2.1" | 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. |
acceptsHttp21 | boolean acceptsHttp21() | No description in source. |
acceptsHttp20 | boolean acceptsHttp20() | 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. |
Http21Request #sleela 2.5 (lib/http-2.0/Http21Request.sleela)
Http21Request 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. |
Http21Response #sleela 2.5 (lib/http-2.0/Http21Response.sleela)
Http21Response 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 = "2.1" | No description in source. |
acceptedGenerations | String acceptedGenerations = "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. |
Http21Route #sleela 2.5 (lib/http-2.0/Http21Route.sleela)
Http21Route 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. |
Http21SecurityPolicy #sleela 2.5 (lib/http-2.0/Http21SecurityPolicy.sleela)
Http21SecurityPolicy class
Fields — the named values this unit stores.
| Field | Declaration | What it holds |
|---|---|---|
plaintextAllowed | boolean plaintextAllowed = false | No description in source. |
requireAuthenticatedTransport | boolean requireAuthenticatedTransport = true | No description in source. |
requireAuthorizationForProtectedRoutes | boolean requireAuthorizationForProtectedRoutes = true | No description in source. |
validateRouteIdentifiers | boolean validateRouteIdentifiers = true | No description in source. |
trustForwardedHeaders | boolean trustForwardedHeaders = false | No description in source. |
trustedReverseProxy | boolean trustedReverseProxy = false | No description in source. |
allowTransferEncoding | boolean allowTransferEncoding = false | No description in source. |
allowDuplicateContentLength | boolean allowDuplicateContentLength = false | No description in source. |
http2TransportImplemented | boolean http2TransportImplemented = false | No description in source. |
packetIntegrityImplemented | boolean packetIntegrityImplemented = false | No description in source. |
redactCredentialsInLogs | boolean redactCredentialsInLogs = true | No description in source. |
tlsTermination | String tlsTermination = "external-protected-proxy" | No description in source. |
Methods — the actions this unit can perform.
| Method | Signature | What it does |
|---|---|---|
mayTrustForwardedHeaders | boolean mayTrustForwardedHeaders() | No description in source. |
isSafeForPublicExposure | boolean isSafeForPublicExposure() | No description in source. |
Http21Validation #sleela 2.5 (lib/http-2.0/Http21Validation.sleela)
Http21Validation 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-2.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. |
iETFHttp2TransportAvailable | boolean iETFHttp2TransportAvailable() | No description in source. |
packetIntegrityAvailable | boolean packetIntegrityAvailable() | No description in source. |
requiresProtectedTransport | boolean requiresProtectedTransport() | No description in source. |
available | boolean available() | No description in source. |