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