public class GitLabApiForm
extends javax.ws.rs.core.Form
Constructor | Description |
---|---|
GitLabApiForm() |
|
GitLabApiForm(javax.ws.rs.core.MultivaluedHashMap<String,String> map) |
Modifier and Type | Method | 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 addIllegalArgumentException
protected 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 © 2018. All rights reserved.