-
Deprecated InterfacesInterfaceDescriptionuse the WebSocketUpgrade attribute instead since 10.2.0StreamDecoder is internal API and will be moved or removed in the future. Since 10.2.0.use ConnectionContext.httpsServer and httpsClient directly. Since 10.2.0.This low-level API has been replaced by an attribute. Since 10.2.0.Use new `formFields` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.Use new `formField` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.Use new `parameters` overloads with ParamSpec parameters. Kept for binary compatibility. Since 10.2.0.Use new `parameters` overloads with ParamSpec parameters. Kept for binary compatibility. Since 10.2.0.
-
Deprecated ClassesClassDescriptionHttpApp this doesn't reflect the latest Akka APIs, since 10.2.0Compressor is internal API and will be moved or removed in the future. Since 10.2.0.Actual implementation of Deflate is internal API, use Coders.Deflate instead. Since 10.2.0.Actual implementation of Deflate is internal API, use Coders.Deflate instead. Since 10.2.0.DeflateCompressor is internal API and will be moved or removed in the future. Since 10.2.0.Actual implementation of Gzip is internal, use Coders.Gzip instead. Since 10.2.0.Actual implementation of Gzip is internal API, use Coders.Gzip instead. Since 10.2.0.Actual implementation of NoCoding is internal API, use Coders.NoCoding instead. Since 10.2.0.Actual implementation of NoCoding is internal API, use Coders.NoCoding instead. Since 10.2.0.NoCodingCompressor is internal API and will be moved or removed in the future. Since 10.2.0.NoCodingCompressor is internal API and will be moved or removed in the future. Since 10.2.0.here to be able to keep supporting the old API. Since 10.2.0.Not needed any more. Kept for binary compatibility. Since 10.2.0.use remote-address-attribute instead. Since 10.2.0.use remote-address-attribute instead. Since 10.2.0.Use new `formFields` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.Use new `formField` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.Use new `parameters` overloads with ParamSpec parameters. Kept for binary compatibility. Since 10.2.0.Use new `parameters` overloads with ParamSpec parameters. Kept for binary compatibility. Since 10.2.0.HttpApp this doesn't reflect the latest Akka APIs. Since 10.2.0.
-
Deprecated FieldsFieldDescriptionThis format is unofficial and should not be used. Use {@link{#APPLICATION_VND_MS_EXCEL} instead.This format is unofficial and should not be used. Use {@link{#FONT_WOFF} instead.This format is unofficial and should not be used. Use {@link{#APPLICATION_VND_MS_POWERPOINT} instead.deprecated in favor of CONTENT_TOO_LARGEdeprecated in favor of CONTENT_TOO_LARGEdeprecated in favor of URI_TOO_LONGdeprecated in favor of RANGE_NOT_SATISFIABLENon-standard Unordered Collection should not be used, deprecated in favor of TOO_EARLYdeprecated in favor of UNPROCESSABLE_CONTENT
-
Deprecated MethodsMethodDescriptionbinary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.Synchronous encoding is deprecated since 10.2.0use httpsServer, httpsClient or the method that takes a custom factory. Since 10.2.0.use httpsServer, httpsClient or the method that takes a custom factory. Since 10.2.0.use httpsServer, httpsClient or the method that takes a custom factory. Since 10.2.0.Not always available. Since 10.2.0.use httpsServer, httpsClient or the method that takes a custom factory. Since 10.2.0.use httpsServer, httpsClient or the method that takes a custom factory. Since 10.2.0.use httpsServer, httpsClient or the method that takes a custom factory. Since 10.2.0.since 10.2.0: Use Http.get(system).newServerAt(interface, port).connectionSource() insteadsince 10.2.0: Use Http.get(system).newServerAt(interface, port).withSettings(settings).connectionSource() insteadsince 10.2.0: Use Http.get(system).newServerAt(interface, port).withSettings(settings).logTo(log).connectionSource() insteadsince 10.2.0: Use Http.get(system).newServerAt(interface, port).withSettings(settings).logTo(log).bindFlow(handler) instead.since 10.2.0: Use Http.get(system).newServerAt(interface, port).bindFlow(handler) instead.since 10.2.0: Use Http.get(system).newServerAt(interface, port).withSettings(settings).logTo(log).bind(handler) insteadsince 10.2.0: Use Http.get(system).newServerAt(interface, port).bind(handler) insteadsince 10.2.0: Use Http.get(system).newServerAt(interface, port).withSettings(settings).logTo(log).bindSync(handler) insteadsince 10.2.0: Use Http.get(system).newServerAt(interface, port).bindSync(handler) insteaduse ConnectionContext.httpsClient. Since 10.2.0.use ConnectionContext.httpsClient. Since 10.2.0.use ConnectionContext.httpsServer. Since 10.2.0.since 10.2.0: set context explicitly when bindingsince 10.2.0: set context explicitly when bindingNot always available. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility, not always available. Since 10.2.0.here for binary compatibility. Since 10.2.0.FormData always uses charset UTF-8 without appending the charset to 'Content-Type: application/x-www-form-urlencoded', use toEntity() instead.The created method will compute the presence of Content-Length headers based on deprecated logic (before issue #4213).Use the
RouteDirectives.concat
method instead.Use theRouteDirectives.concat
method instead.usewebSocketUpgrade
instead since 10.2.0Use forServer or forClient instead.Use forServer or forClient instead.Use forServer or forClient instead.Use forServer or forClient instead.Use forServer or forClient instead.Use forServer or forClient instead.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.since 10.2.0, use remoteAddressAttribute insteadKept for binary compatibility; Use websocketSettings.getRandomFactory instead. Since 10.2.0.Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead. Since 10.2.0.Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since 10.1.8.Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since 10.1.8.Use Coders.Deflate(compressionLevel = ...) instead. Since 10.2.0.synchronous compression with `encode` is not supported in the future any more, use `encodeAsync` instead. Since 10.2.0.newCompressor is internal API. Since 10.2.0.newEncodeTransformer is internal API. Since 10.2.0.Use Coders.Gzip(compressionLevel = ...) instead. Since 10.2.0.Internal method, left for binary compatibility. Since 10.2.0.use httpsClient, httpsServer, or the lower-level SSLEngine-based constructor. Since 10.2.0.use ConnectionContext.httpClient(sslContext) instead. Since 10.2.0.use ConnectionContext.httpServer instead. Since 10.2.0.use ConnectionContext.httpServer instead. Since 10.2.0.AkkaSSLConfig usage is deprecated. Since 10.2.0.Use Http().newServerAt(...)...connectionSource() to create a source that can be materialized to a binding. Since 10.2.0.Use Http().newServerAt(...)...bindFlow() to create server bindings. Since 10.2.0.Use Http().newServerAt(...)...bind() to create server bindings. Since 10.2.0.Use Http().newServerAt(...)...bindSync() to create server bindings. Since 10.2.0.Set context explicitly when binding. Since 10.2.0.Set context explicitly when binding. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.not always available. Since 10.2.0.here for binary compatibility. Since 10.2.0.here for binary compatibility. Since 10.2.0.not always available. Since 10.2.0.here for binary compatibility. Since 10.2.0.FormData always uses charset UTF-8 without appending the charset to 'Content-Type: application/x-www-form-urlencoded', use toEntity instead. Since 10.1.7.for binary compatibility. Since 10.2.0.Use HttpCookiePair.toCookie and withXxx methods instead. Since 10.2.0.Pattern matching on HttpCookie is deprecated because of the big number of fields and potential future compatibility hazards. Please use other means to check the fields. Since 10.2.0.Use HttpCookiePair.toCookie and withXxx methods instead. Since 10.2.0.Pattern matching on HttpCookie is deprecated because of the big number of fields and potential future compatibility hazards. Please use other means to check the fields. Since 10.2.0.Not needed explicitly any more. . Since 10.1.5.Not needed explicitly any more. . Since 10.1.5.The created method will compute the presence of Content-Length headers based on deprecated logic (before issue #4213).The created method will compute the presence of Content-Length headers based on deprecated logic (before issue #4213).Use the `withXYZ` methods instead. Kept for binary compatibility. Since 10.2.0.Use the `withXYZ` methods instead. Since 10.2.0.deprecated in favor of HttpVersionNotSupported. Since 10.1.11.deprecated in favor of ContentTooLarge. Since 10.4.0.deprecated in favor of RangeNotSatisfiable. Since 10.1.11.deprecated in favor of ContentTooLarge. Since 10.4.0.deprecated in favor of UriTooLong. Since 10.1.11.Non-standard Unordered Collection should not be used, deprecated in favor of TooEarly. Since 10.1.6.deprecated in favor of UnprocessableContent. Since 10.4.0.deprecated in favor of HttpVersionNotSupported. Since 10.1.11.deprecated in favor of ContentTooLarge. Since 10.4.0.deprecated in favor of RangeNotSatisfiable. Since 10.1.11.deprecated in favor of ContentTooLarge. Since 10.4.0.deprecated in favor of UriTooLong. Since 10.1.11.Non-standard Unordered Collection should not be used, deprecated in favor of TooEarly. Since 10.1.6.deprecated in favor of UnprocessableContent. Since 10.4.0.Use new `formField` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.akka.http.scaladsl.server.directives.FormFieldDirectives.formFields(FormFieldDirectives.FieldMagnet) Use new `formField` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.Use string argument version or `headerValueByType`, e.g. instead of `headerValueByName('Referer)` use `headerValueByType(Referer)`. Since 10.2.0.Use string argument version or `headerValueByType`, e.g. instead of `optionalHeaderValueByName('Referer)` use `optionalHeaderValueByType(Referer)`. Since 10.2.0.Pass the companion object to headerValueByType as a parameter instead, e.g. `headerValueByType(Origin)` instead of `headerValueByType[Origin](())`. Since 10.2.0.Pass the companion object to headerValueByType as a parameter instead, e.g. `headerValueByType(Origin)` instead of `headerValueByType[Origin](())`. Since 10.2.0.Use new `parameters` overloads with ParamSpec parameters. Kept for binary compatibility. Since 10.2.0.akka.http.scaladsl.server.directives.ParameterDirectives.parameters(ParameterDirectives.ParamMagnet) Use new `parameters` overloads with ParamSpec parameters. Kept for binary compatibility. Since 10.2.0.use `extractWebSocketUpgrade` instead. Since 10.2.0.make an ActorSystem available implicitly instead. Since 10.2.0.Use `toFunction` instead, which only requires an implicit ActorSystem and no rejection/exception handlers. Use directives to specify custom exceptions or rejection handlers. Since 10.2.0.Replaced by `toFlow` that takes an implicit ActorSystem. Since 10.2.0.Use `toFunction` instead, which only requires an implicit ActorSystem and no rejection/exception handlers. Use directives to specify custom exceptions or rejection handlers. Since 10.2.0.Replaced by `toFlow` that takes an implicit ActorSystem. Since 10.2.0.Replaced by routeToFlow. Since 10.2.0.for binary compatibility. Since 10.1.9.for binary compatibility. Since 10.1.9.for binary compatibility. Since 10.1.9.for binary compatibility. Since 10.1.9.Deprecated in favor of connectionSettings.transport. Since 10.1.0.Use forServer or forClient instead. Since 10.2.0.Use forServer or forClient instead. Since 10.2.0.Use forServer or forClient instead. Since 10.2.0.Use forServer or forClient instead. Since 10.2.0.Use ServerSettings.http2Enabled instead. Since 10.5.0.Use ServerSettings.withHttp2Enabled instead. Since 10.5.0.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.binary compatibility method. Use `akka.stream.materializer.blocking-io-dispatcher` to configure the dispatcher. Since 10.1.6.Kept for binary compatibility; Use websocketSettings.getRandomFactory instead. Since 10.2.0.use remote-address-attribute instead. Since 10.2.0.Kept for binary compatibility; Use websocketSettings.randomFactory instead. Since 10.1.1.Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead. Since 10.2.0.Kept for binary compatibility; Use websocketSettings.withRandomFactoryFactory instead. Since 10.2.0.Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since 10.1.8.Set this property in configuration as `akka.http.sse.max-event-size` before calling fromEventsStream(implicit ActorSystem). Since 10.1.8.Set this property in configuration as `akka.http.sse.max-line-size` before calling fromEventsStream(implicit ActorSystem). Since 10.1.8.Binary compatibility method. Invocations should have an implicit ActorSystem in scope to provide access to configuration. Since 10.1.8.for binary compatibility. Since 10.1.9.for binary compatibility. Since 10.1.9.
-
Deprecated ConstructorsConstructorDescriptionprefer ConnectionContext.httpsClient or ConnectionContext.httpsServer. Since 10.2.0.Please use HttpCookie(name, value).withXxx(). Since 10.2.0.use the constructor that includes an attributes parameter instead. Since 10.2.0.use the constructor that includes an attributes parameter instead. Since 10.2.0.for binary compatibility. Since 10.1.9.akka.http.scaladsl.unmarshalling.Unmarshaller.UnsupportedContentTypeException
(Set<ContentTypeRange>) for binary compatibility. Since 10.1.9.