Codota Logo
ParameterList.createFromKeyValueForm
Code IndexAdd Codota to your IDE (free)

How to use
createFromKeyValueForm
method
in
org.openid4java.message.ParameterList

Best Java code snippets using org.openid4java.message.ParameterList.createFromKeyValueForm (Showing top 7 results out of 315)

  • Common ways to obtain ParameterList
private void myMethod () {
ParameterList p =
  • Codota IconHttpServletRequest request;new ParameterList(request.getParameterMap())
  • Codota Iconnew ParameterList()
  • Codota IconMap parameterMap;new ParameterList(parameterMap)
  • Smart code suggestions by Codota
}
origin: org.openid4java/openid4java-nodeps

/**
 * Makes a HTTP call to the specified URL with the parameters specified
 * in the Message.
 *
 * @param url       URL endpoint for the HTTP call
 * @param request   Message containing the parameters
 * @param response  ParameterList that will hold the parameters received in
 *                  the HTTP response
 * @return          the status code of the HTTP call
 */
private int call(String url, Message request, ParameterList response)
    throws MessageException
{
  int responseCode = -1;
  try
  {
    if (DEBUG) _log.debug("Performing HTTP POST on " + url);
    HttpResponse resp = _httpFetcher.post(url, request.getParameterMap());
    responseCode = resp.getStatusCode();
    String postResponse = resp.getBody();
    response.copyOf(ParameterList.createFromKeyValueForm(postResponse));
    if (DEBUG) _log.debug("Retrived response:\n" + postResponse);
  }
  catch (IOException e)
  {
    _log.error("Error talking to " + url +
        " response code: " + responseCode, e);
  }
  return responseCode;
}
origin: org.wso2.org.openid4java/openid4java-nodeps

ParameterList.createFromKeyValueForm(keyValueForm));
origin: com.cloudbees/openid4java-shaded

/**
 * Makes a HTTP call to the specified URL with the parameters specified
 * in the Message.
 *
 * @param url       URL endpoint for the HTTP call
 * @param request   Message containing the parameters
 * @param response  ParameterList that will hold the parameters received in
 *                  the HTTP response
 * @return          the status code of the HTTP call
 */
private int call(String url, Message request, ParameterList response)
    throws MessageException
{
  int responseCode = -1;
  try
  {
    if (DEBUG) _log.debug("Performing HTTP POST on " + url);
    HttpResponse resp = _httpFetcher.post(url, request.getParameterMap());
    responseCode = resp.getStatusCode();
    String postResponse = resp.getBody();
    response.copyOf(ParameterList.createFromKeyValueForm(postResponse));
    if (DEBUG) _log.debug("Retrived response:\n" + postResponse);
  }
  catch (IOException e)
  {
    _log.error("Error talking to " + url +
        " response code: " + responseCode, e);
  }
  return responseCode;
}
origin: org.openid4java/openid4java

/**
 * Makes a HTTP call to the specified URL with the parameters specified
 * in the Message.
 *
 * @param url       URL endpoint for the HTTP call
 * @param request   Message containing the parameters
 * @param response  ParameterList that will hold the parameters received in
 *                  the HTTP response
 * @return          the status code of the HTTP call
 */
private int call(String url, Message request, ParameterList response)
    throws MessageException
{
  int responseCode = -1;
  try
  {
    if (DEBUG) _log.debug("Performing HTTP POST on " + url);
    HttpResponse resp = _httpFetcher.post(url, request.getParameterMap());
    responseCode = resp.getStatusCode();
    String postResponse = resp.getBody();
    response.copyOf(ParameterList.createFromKeyValueForm(postResponse));
    if (DEBUG) _log.debug("Retrived response:\n" + postResponse);
  }
  catch (IOException e)
  {
    _log.error("Error talking to " + url +
        " response code: " + responseCode, e);
  }
  return responseCode;
}
origin: org.wso2.org.openid4java/openid4java-nodeps

/**
 * Makes a HTTP call to the specified URL with the parameters specified
 * in the Message.
 *
 * @param url      URL endpoint for the HTTP call
 * @param request  Message containing the parameters
 * @param response ParameterList that will hold the parameters received in
 *                 the HTTP response
 * @return the status code of the HTTP call
 */
private int call(String url, Message request, ParameterList response)
    throws MessageException {
  int responseCode = -1;
  try {
    if (DEBUG) {
      _log.debug("Performing HTTP POST on " + url);
    }
    HttpResponse resp = _httpFetcher.post(url, request.getParameterMap());
    responseCode = resp.getStatusCode();
    String postResponse = resp.getBody();
    response.copyOf(ParameterList.createFromKeyValueForm(postResponse));
    if (DEBUG) {
      _log.debug("Retrived response:\n" + postResponse);
    }
  } catch (IOException e) {
    _log.error("Error talking to " + url +
          " response code: " + responseCode, e);
  }
  return responseCode;
}
origin: jbufu/openid4java

/**
 * Makes a HTTP call to the specified URL with the parameters specified
 * in the Message.
 *
 * @param url       URL endpoint for the HTTP call
 * @param request   Message containing the parameters
 * @param response  ParameterList that will hold the parameters received in
 *                  the HTTP response
 * @return          the status code of the HTTP call
 */
private int call(String url, Message request, ParameterList response)
    throws MessageException
{
  int responseCode = -1;
  try
  {
    if (DEBUG) _log.debug("Performing HTTP POST on " + url);
    HttpResponse resp = _httpFetcher.post(url, request.getParameterMap());
    responseCode = resp.getStatusCode();
    String postResponse = resp.getBody();
    response.copyOf(ParameterList.createFromKeyValueForm(postResponse));
    if (DEBUG) _log.debug("Retrived response:\n" + postResponse);
  }
  catch (IOException e)
  {
    _log.error("Error talking to " + url +
        " response code: " + responseCode, e);
  }
  return responseCode;
}
origin: org.openid4java/openid4java-nodeps

ParameterList.createFromKeyValueForm(keyValueForm));
org.openid4java.messageParameterListcreateFromKeyValueForm

Popular methods of ParameterList

  • <init>
  • getParameterValue
  • hasParameter
  • getParameters
  • getParameter
  • hasParameterPrefix
  • set
  • copyOf
  • removeParameters
  • toString

Popular in Java

  • Reactive rest calls using spring rest template
  • findViewById (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement.A servlet is a small Java program that runs within
  • JFileChooser (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Table (org.hibernate.mapping)
    A relational table
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now