Tabnine Logo
ServerConfigImpl.getProtocol
Code IndexAdd Tabnine to your IDE (free)

How to use
getProtocol
method
in
org.eclipse.che.api.workspace.server.model.impl.ServerConfigImpl

Best Java code snippets using org.eclipse.che.api.workspace.server.model.impl.ServerConfigImpl.getProtocol (Showing top 4 results out of 315)

origin: org.eclipse.che.core/che-core-api-workspace

@Override
public boolean equals(Object o) {
 if (this == o) {
  return true;
 }
 if (!(o instanceof ServerConfigImpl)) {
  return false;
 }
 ServerConfigImpl that = (ServerConfigImpl) o;
 return Objects.equals(id, that.id)
   && Objects.equals(getPort(), that.getPort())
   && Objects.equals(getProtocol(), that.getProtocol())
   && Objects.equals(getPath(), that.getPath())
   && Objects.equals(getAttributes(), that.getAttributes());
}
origin: org.eclipse.che.core/che-core-api-workspace

@Override
public int hashCode() {
 return Objects.hash(id, getPort(), getProtocol(), getPath(), getAttributes());
}
origin: org.eclipse.che.infrastructure/infrastructure-openshift

private void useSecureProtocolForServers(final Route route) {
 Map<String, ServerConfigImpl> servers =
   Annotations.newDeserializer(route.getMetadata().getAnnotations()).servers();
 servers.values().forEach(s -> s.setProtocol(getSecureProtocol(s.getProtocol())));
 Map<String, String> annotations = Annotations.newSerializer().servers(servers).annotations();
 route.getMetadata().getAnnotations().putAll(annotations);
}
origin: org.eclipse.che.infrastructure/infrastructure-openshift

 private void fillRouteServers(Route route, Map<String, ServerImpl> servers) {
  Annotations.newDeserializer(route.getMetadata().getAnnotations())
    .servers()
    .forEach(
      (name, config) ->
        servers.put(
          name,
          newServer(
            config.getProtocol(),
            route.getSpec().getHost(),
            null,
            config.getPath(),
            config.getAttributes())));
 }
}
org.eclipse.che.api.workspace.server.model.implServerConfigImplgetProtocol

Popular methods of ServerConfigImpl

  • getAttributes
  • getPath
  • <init>
  • getPort
  • setAttributes
  • setProtocol

Popular in Java

  • Running tasks concurrently on multiple threads
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (Timer)
  • requestLocationUpdates (LocationManager)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Top 17 Free Sublime Text 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