Uses of Class
me.geso.mech2.Mech2Request
-
Uses of Mech2Request in me.geso.mech2
Subclasses of Mech2Request in me.geso.mech2Modifier and TypeClassDescriptionclassThis is a HTTP request class, has amultipart/form-datacontent-type.Methods in me.geso.mech2 that return Mech2RequestModifier and TypeMethodDescriptionAdd header to the request.Mech2Request.addParameter(String param, String value) Deprecated.Mech2Request.addQueryParameter(String param, String value) Add query parameter to the URICreate new DELETE request object.Create new GET request object.Create new GET request.Create new GET request usingString.format(String, Object...).Create new HEAD request object.Create new POST request object.Create new POST request.Create new POST request contains JSON.Create new PUT request object.Mech2Request.setBody(org.apache.http.HttpEntity entity) Set HttpEntity object to the request.Mech2Request.setBodyJSON(Object form) Set JSON value as the entity body.
This method uses jackson for serializing.Set header to the request.Mech2Request.setQueryParameter(String param, String value) Set query parameter to the URI