Package | Description |
---|---|
edu.internet2.middleware.grouper.util |
This package contains utility classes (generally static methods)
|
Modifier and Type | Method and Description |
---|---|
GrouperHttpClient |
GrouperHttpClient.addBodyParameter(String key,
String value)
Add a parameter to the BODY for a POST body form.
|
GrouperHttpClient |
GrouperHttpClient.addFileToSend(String filename,
File file) |
GrouperHttpClient |
GrouperHttpClient.addHeader(String key,
String value)
Adds a parameter to the header.
|
GrouperHttpClient |
GrouperHttpClient.addUrlParameter(String key,
String value)
Add a parameter to the URL.
|
GrouperHttpClient |
GrouperHttpClient.assignBody(String _body)
Sets the body to send.
|
GrouperHttpClient |
GrouperHttpClient.assignBodyBytes(byte[] _body)
Sets the body to send.
|
GrouperHttpClient |
GrouperHttpClient.assignGrouperHttpMethod(GrouperHttpMethod grouperHttpMethod) |
GrouperHttpClient |
GrouperHttpClient.assignGrouperHttpMethod(String grouperHttpMethodType) |
GrouperHttpClient |
GrouperHttpClient.assignHttpMultipartMode(org.apache.http.entity.mime.HttpMultipartMode _httpMultipartMode)
Use to override HttpMultipartMode.BROWSER_COMPATIBLE which is the default.
|
GrouperHttpClient |
GrouperHttpClient.assignHttpResponseBodyCallback(GrouperHttpResponseBodyCallback httpResponseBodyCallback) |
GrouperHttpClient |
GrouperHttpClient.assignPassword(String _password)
Sets the password for basic auth.
|
GrouperHttpClient |
GrouperHttpClient.assignResponseAsFile(boolean _responseAsFile)
Whether you want the response as a file as opposed to a string in memory.
|
GrouperHttpClient |
GrouperHttpClient.assignResponseCode(int _responseCode)
The response code of the call.
|
GrouperHttpClient |
GrouperHttpClient.assignResponseFile(File _responseFile)
If getting the reponse body as a file, this is the file.
|
GrouperHttpClient |
GrouperHttpClient.assignResponseFileName(String _responseFileName)
The filename to use for the response, if the response is retrieved as a file.
|
GrouperHttpClient |
GrouperHttpClient.assignResponseHeaders(Map<String,String> _responseHeaders)
Any headers sent back in the resopnse.
|
GrouperHttpClient |
GrouperHttpClient.assignTrust(boolean _trust)
Trust regardless of cert; ONLY use when you KNOW the endpoint.
|
GrouperHttpClient |
GrouperHttpClient.assignTrustStore(File _trustStore)
Truststore (.jks) to add dynamically to list of truststores.
|
GrouperHttpClient |
GrouperHttpClient.assignTrustStorePassword(String _trustStoreKey)
Password for truststore.
|
GrouperHttpClient |
GrouperHttpClient.assignUrl(String _url)
Sets the url being called.
|
GrouperHttpClient |
GrouperHttpClient.assignUser(String _user)
Sets the user for basic auth.
|
Copyright © 2016 Internet2. All rights reserved.