Uses of Class
org.miaixz.bus.http.bodys.RequestBody
Packages that use RequestBody
Package
Description
Java应用的HTTP客户端
Body 相关处理
Httpv 实现
Httpz 实现
-
Uses of RequestBody in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return RequestBodyMethods in org.miaixz.bus.http with parameters of type RequestBodyModifier and TypeMethodDescriptionRequest.Builder.delete(RequestBody body) Request.Builder.method(String method, RequestBody body) Request.Builder.patch(RequestBody body) Request.Builder.post(RequestBody body) Request.Builder.put(RequestBody body) -
Uses of RequestBody in org.miaixz.bus.http.bodys
Subclasses of RequestBody in org.miaixz.bus.http.bodysModifier and TypeClassDescriptionclassForm请求体内容classThe MIME Multipart/Related Content-type 用于复合对象Methods in org.miaixz.bus.http.bodys that return RequestBodyModifier and TypeMethodDescriptionMultipartBody.Part.body()static RequestBodyRequestBody.create(org.miaixz.bus.core.lang.MediaType mediaType, byte[] content) 发送content的新请求体static RequestBodyRequestBody.create(org.miaixz.bus.core.lang.MediaType mediaType, byte[] content, int offset, int byteCount) 发送content的新请求体static RequestBody新的请求体,该请求体传输file的内容static RequestBody返回传输content的新请求体。static RequestBodyRequestBody.create(org.miaixz.bus.core.lang.MediaType mediaType, org.miaixz.bus.core.io.ByteString content) 返回发送content的新请求体Methods in org.miaixz.bus.http.bodys with parameters of type RequestBodyModifier and TypeMethodDescriptionMultipartBody.Builder.addFormDataPart(String name, String filename, RequestBody body) 将表单数据部分添加到主体中MultipartBody.Builder.addPart(RequestBody body) 增加part至请求体MultipartBody.Builder.addPart(Headers headers, RequestBody body) 增加part至请求体static MultipartBody.PartMultipartBody.Part.create(RequestBody body) static MultipartBody.PartMultipartBody.Part.create(Headers headers, RequestBody body) static MultipartBody.PartMultipartBody.Part.createFormData(String name, String filename, RequestBody body) -
Uses of RequestBody in org.miaixz.bus.http.plugin.httpv
Subclasses of RequestBody in org.miaixz.bus.http.plugin.httpvConstructors in org.miaixz.bus.http.plugin.httpv with parameters of type RequestBodyModifierConstructorDescriptionProgressBody(RequestBody requestBody, Callback<Progress> onProcess, Executor callbackExecutor, long contentLength, long stepBytes) -
Uses of RequestBody in org.miaixz.bus.http.plugin.httpz
Methods in org.miaixz.bus.http.plugin.httpz that return RequestBodyModifier and TypeMethodDescriptionprotected RequestBodyGetRequest.buildRequestBody()protected abstract RequestBodyHttpRequest.buildRequestBody()protected RequestBodyPostRequest.buildRequestBody()protected RequestBodyPutRequest.buildRequestBody()static RequestBodyHttpRequest.createRequestBody(org.miaixz.bus.core.lang.MediaType mediaType, InputStream is) Methods in org.miaixz.bus.http.plugin.httpz with parameters of type RequestBodyModifier and TypeMethodDescriptionprotected RequestGetRequest.buildRequest(RequestBody requestBody) protected abstract RequestHttpRequest.buildRequest(RequestBody requestBody) protected RequestPostRequest.buildRequest(RequestBody requestBody) protected RequestPutRequest.buildRequest(RequestBody requestBody)