Class HttpServiceRequest
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.services.HttpServiceRequest
-
public class HttpServiceRequest extends Object
Provides extended properties for a CodeSonar hub request.
-
-
Constructor Summary
Constructors Constructor Description HttpServiceRequest(String uri)
HttpServiceRequest(URI uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpServiceRequest
addHeader(String name, String value)
Collection<Map.Entry<String,String>>
getHeaderCollection()
String
getHTTPMethod()
URI
getURI()
String
getURIString()
HttpServiceRequest
setHTTPMethod(String httpMethod)
-
-
-
Constructor Detail
-
HttpServiceRequest
public HttpServiceRequest(URI uri) throws CodeSonarPluginException
- Throws:
CodeSonarPluginException
-
HttpServiceRequest
public HttpServiceRequest(String uri) throws CodeSonarPluginException
- Throws:
CodeSonarPluginException
-
-
Method Detail
-
getURIString
public String getURIString()
-
getURI
public URI getURI()
-
getHTTPMethod
public String getHTTPMethod()
-
setHTTPMethod
public HttpServiceRequest setHTTPMethod(String httpMethod)
-
getHeaderCollection
public Collection<Map.Entry<String,String>> getHeaderCollection()
-
addHeader
public HttpServiceRequest addHeader(String name, String value)
-
-