Uses of Class
com.github.mizosoft.methanol.BodyAdapter.Hints.Builder
Packages that use BodyAdapter.Hints.Builder
-
Uses of BodyAdapter.Hints.Builder in com.github.mizosoft.methanol
Methods in com.github.mizosoft.methanol that return BodyAdapter.Hints.BuilderModifier and TypeMethodDescriptionBodyAdapter.Hints.Builder.forDecoder(HttpResponse.ResponseInfo responseInfo) Adds the givenResponseInfoas a hint and a media type hint extracted from the response headers if present.BodyAdapter.Hints.Builder.forEncoder(HttpRequest request) Adds the given request as a hint and a media type hint extracted from either the request's body orContent-Typeheader, whichever is present first.default BodyAdapter.Hints.BuilderBodyAdapter.Hints.mutate()Returns a newBuildercontaining this object's hints.static BodyAdapter.Hints.BuilderBodyAdapter.Hints.newBuilder()Returns a newBuilder.Maps the given type to the given hint.Removes the hint mapped to by the given type.BodyAdapter.Hints.Builder.removeAll()Removes all hints added so far.Method parameters in com.github.mizosoft.methanol with type arguments of type BodyAdapter.Hints.BuilderModifier and TypeMethodDescriptionMutableRequest.hints(Consumer<BodyAdapter.Hints.Builder> hintsMutator) Modifies this request'sBodyAdapter.Hintsby mutating aBodyAdapter.Hints.Builder.