Class HttpRequest
- java.lang.Object
-
- org.opendaylight.infrautils.diagstatus.shell.HttpRequest
-
public class HttpRequest extends Object
-
-
Constructor Summary
Constructors Constructor Description HttpRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
String
getEntity()
Map<String,List<String>>
getHeaders()
String
getMethod()
int
getTimeout()
String
getUri()
void
setContentType(String contentType)
void
setEntity(String entity)
void
setHeaders(Map<String,List<String>> headers)
void
setMethod(String method)
void
setTimeout(int timeout)
void
setUri(String uri)
-
-
-
Method Detail
-
getMethod
public String getMethod()
-
setMethod
public void setMethod(String method)
-
getUri
public String getUri()
-
setUri
public void setUri(String uri)
-
getEntity
public String getEntity()
-
setEntity
public void setEntity(String entity)
-
getTimeout
public int getTimeout()
-
setTimeout
public void setTimeout(int timeout)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
-