Package com.bennyapi.services.blocking
Interface SessionService.WithRawResponse
-
- All Implemented Interfaces:
public interface SessionService.WithRawResponseA view of SessionService that provides access to raw HTTP responses for each method.
-
-
Method Summary
Modifier and Type Method Description abstract SessionService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. HttpResponseFor<SessionCreateTokenResponse>createToken(SessionCreateTokenParams params)Returns a raw HTTP response for post /v1/session, but is otherwise the same as SessionService.createToken.abstract HttpResponseFor<SessionCreateTokenResponse>createToken(SessionCreateTokenParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
abstract SessionService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
createToken
@MustBeClosed() HttpResponseFor<SessionCreateTokenResponse> createToken(SessionCreateTokenParams params)
Returns a raw HTTP response for
post /v1/session, but is otherwise the same as SessionService.createToken.
-
createToken
@MustBeClosed() abstract HttpResponseFor<SessionCreateTokenResponse> createToken(SessionCreateTokenParams params, RequestOptions requestOptions)
-
-
-
-