Class HttpExchange.Started
java.lang.Object
org.springframework.boot.actuate.web.exchanges.HttpExchange.Started
- Enclosing class:
- HttpExchange
A started request that when
finished
will return a new
HttpExchange
instance.-
Method Summary
Modifier and TypeMethodDescriptionfinish
(Clock clock, RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Set<Include> includes) Finish the request and return a newHttpExchange
instance.finish
(Clock clock, RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Include... includes) Finish the request and return a newHttpExchange
instance.finish
(RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Set<Include> includes) Finish the request and return a newHttpExchange
instance.finish
(RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Include... includes) Finish the request and return a newHttpExchange
instance.
-
Method Details
-
finish
public HttpExchange finish(RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Include... includes) Finish the request and return a newHttpExchange
instance.- Parameters:
response
- the recordable HTTP responseprincipalSupplier
- a supplier to provide the principalsessionIdSupplier
- a supplier to provide the session IDincludes
- the options to include- Returns:
- a new
HttpExchange
instance
-
finish
public HttpExchange finish(Clock clock, RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Include... includes) Finish the request and return a newHttpExchange
instance.- Parameters:
clock
- the clock to useresponse
- the recordable HTTP responseprincipalSupplier
- a supplier to provide the principalsessionIdSupplier
- a supplier to provide the session IDincludes
- the options to include- Returns:
- a new
HttpExchange
instance
-
finish
public HttpExchange finish(RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Set<Include> includes) Finish the request and return a newHttpExchange
instance.- Parameters:
response
- the recordable HTTP responseprincipalSupplier
- a supplier to provide the principalsessionIdSupplier
- a supplier to provide the session IDincludes
- the options to include- Returns:
- a new
HttpExchange
instance
-
finish
public HttpExchange finish(Clock clock, RecordableHttpResponse response, Supplier<Principal> principalSupplier, Supplier<String> sessionIdSupplier, Set<Include> includes) Finish the request and return a newHttpExchange
instance.- Parameters:
clock
- the clock to useresponse
- the recordable HTTP responseprincipalSupplier
- a supplier to provide the principalsessionIdSupplier
- a supplier to provide the session IDincludes
- the options to include- Returns:
- a new
HttpExchange
instance
-