public class GitLabApiForm
extends javax.ws.rs.core.Form
| Constructor and Description |
|---|
GitLabApiForm() |
GitLabApiForm(javax.ws.rs.core.MultivaluedHashMap<String,String> map) |
| Modifier and Type | Method and Description |
|---|---|
protected GitLabApiForm |
withParam(String name,
Object value)
Fluent method for adding query and form parameters to a get() or post() call.
|
protected GitLabApiForm |
withParam(String name,
Object value,
boolean required)
Fluent method for adding query and form parameters to a get() or post() call.
|
protected GitLabApiForm withParam(String name, Object value) throws IllegalArgumentException
name - the name of the field/attribute to addvalue - the value of the field/attribute to addIllegalArgumentExceptionprotected GitLabApiForm withParam(String name, Object value, boolean required) throws IllegalArgumentException
name - the name of the field/attribute to addvalue - the value of the field/attribute to addrequired - the field is required flagIllegalArgumentException - if a required parameter is null or emptyCopyright © 2017. All rights reserved.