Module com.rabbitmq.http.client
Package com.rabbitmq.http.client
Interface HttpLayer.HttpLayerFactory
-
- Enclosing interface:
- HttpLayer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface HttpLayer.HttpLayerFactory
Contract to create theHttpLayer
.The
HttpLayer
usually requires credentials (username, password) that are available once theClientParameters
instance is created. This explains the need for a factory mechanism.- Since:
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpLayer
create(ClientParameters parameters)
-
-
-
Method Detail
-
create
HttpLayer create(ClientParameters parameters)
-
-