public interface IHttpRequest
| Modifier and Type | Method and Description |
|---|---|
void |
addHeader(String theName,
String theValue)
Add a header to the request
|
IHttpResponse |
execute()
Execute the request
|
Map<String,List<String>> |
getAllHeaders() |
String |
getHttpVerbName()
Return the HTTP verb (e.g.
|
String |
getRequestBodyFromStream()
Return the requestbody as a string.
|
String |
getUri()
Return the request URI, or null
|
void addHeader(String theName, String theValue)
theName - the header nametheValue - the header valueIHttpResponse execute() throws IOException
IOExceptionMap<String,List<String>> getAllHeaders()
String getRequestBodyFromStream() throws IOException
IOExceptionString getHttpVerbName()
Copyright © 2014–2017 University Health Network. All rights reserved.