Package com.anthropic.services.blocking
Class MessageServiceImpl.WithRawResponseImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.blocking.MessageService.WithRawResponse
public final class MessageServiceImpl.WithRawResponseImpl implements MessageService.WithRawResponse
-
-
Method Summary
Modifier and Type Method Description MessageService.WithRawResponsewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. BatchService.WithRawResponsebatches()HttpResponseFor<Message>create(MessageCreateParams params, RequestOptions requestOptions)HttpResponseFor<StreamResponse<RawMessageStreamEvent>>createStreaming(MessageCreateParams params, RequestOptions requestOptions)HttpResponseFor<MessageTokensCount>countTokens(MessageCountTokensParams params, RequestOptions requestOptions)-
-
Method Detail
-
withOptions
MessageService.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
batches
BatchService.WithRawResponse batches()
-
create
HttpResponseFor<Message> create(MessageCreateParams params, RequestOptions requestOptions)
-
createStreaming
HttpResponseFor<StreamResponse<RawMessageStreamEvent>> createStreaming(MessageCreateParams params, RequestOptions requestOptions)
-
countTokens
HttpResponseFor<MessageTokensCount> countTokens(MessageCountTokensParams params, RequestOptions requestOptions)
-
-
-
-