Tabnine Logo
UndertowHttpFacade$RequestFacade
Code IndexAdd Tabnine to your IDE (free)

How to use
UndertowHttpFacade$RequestFacade
in
org.keycloak.adapters.undertow

Best Java code snippets using org.keycloak.adapters.undertow.UndertowHttpFacade$RequestFacade (Showing top 4 results out of 315)

origin: org.keycloak/spring-boot-container-bundle

@Override
public String getFirstParam(String param) {
  Deque<String> values = exchange.getQueryParameters().get(param);
  if (values != null && !values.isEmpty()) {
    return values.getFirst();
  }
  if (formData == null && "post".equalsIgnoreCase(getMethod())) {
    FormDataParser parser = formParserFactory.createParser(exchange);
    try {
      formData = parser.parseBlocking();
    } catch (IOException cause) {
      throw new RuntimeException("Failed to parse form parameters", cause);
    }
  }
  if (formData != null) {
    Deque<FormValue> formValues = formData.get(param);
    if (formValues != null && !formValues.isEmpty()) {
      FormValue firstValue = formValues.getFirst();
      if (!firstValue.isFile()) {
        return firstValue.getValue();
      }
    }
  }
  return null;
}
origin: org.keycloak/keycloak-undertow-adapter-spi

@Override
public String getFirstParam(String param) {
  Deque<String> values = exchange.getQueryParameters().get(param);
  if (values != null && !values.isEmpty()) {
    return values.getFirst();
  }
  if (formData == null && "post".equalsIgnoreCase(getMethod())) {
    FormDataParser parser = formParserFactory.createParser(exchange);
    try {
      formData = parser.parseBlocking();
    } catch (IOException cause) {
      throw new RuntimeException("Failed to parse form parameters", cause);
    }
  }
  if (formData != null) {
    Deque<FormValue> formValues = formData.get(param);
    if (formValues != null && !formValues.isEmpty()) {
      FormValue firstValue = formValues.getFirst();
      if (!firstValue.isFile()) {
        return firstValue.getValue();
      }
    }
  }
  return null;
}
origin: org.keycloak/keycloak-undertow-adapter-spi

@Override
public InputStream getInputStream() {
  return getInputStream(false);
}
origin: org.keycloak/spring-boot-container-bundle

@Override
public InputStream getInputStream() {
  return getInputStream(false);
}
org.keycloak.adapters.undertowUndertowHttpFacade$RequestFacade

Most used methods

  • getInputStream
  • getMethod

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • ImageIO (javax.imageio)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now