Package com.anthropic.services.blocking
Class MessageServiceImpl
-
- All Implemented Interfaces:
-
com.anthropic.services.blocking.MessageService
public final class MessageServiceImpl implements MessageService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description MessageService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. BatchServicebatches()Messagecreate(MessageCreateParams params, RequestOptions requestOptions)StreamResponse<RawMessageStreamEvent>createStreaming(MessageCreateParams params, RequestOptions requestOptions)MessageTokensCountcountTokens(MessageCountTokensParams params, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
MessageService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
batches
BatchService batches()
-
create
Message create(MessageCreateParams params, RequestOptions requestOptions)
-
createStreaming
StreamResponse<RawMessageStreamEvent> createStreaming(MessageCreateParams params, RequestOptions requestOptions)
-
countTokens
MessageTokensCount countTokens(MessageCountTokensParams params, RequestOptions requestOptions)
-
-
-
-