public class PostRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PostRequest.Part |
WsRequest.Method| Constructor and Description |
|---|
PostRequest(String path) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMediaType() |
WsRequest.Method |
getMethod() |
Map<String,String> |
getParams() |
Map<String,PostRequest.Part> |
getParts() |
String |
getPath() |
SELF |
setMediaType(String s)
Expected media type of response.
|
SELF |
setParam(String key,
Object value) |
PostRequest |
setPart(String name,
PostRequest.Part part) |
public PostRequest(String path)
public WsRequest.Method getMethod()
public PostRequest setPart(String name, PostRequest.Part part)
public Map<String,PostRequest.Part> getParts()
public String getMediaType()
getMediaType in interface WsRequestpublic SELF setMediaType(String s)
MediaTypes.JSON.Copyright © 2009–2016 SonarSource. All rights reserved.