Tabnine Logo
HandshakeInfo.getUri
Code IndexAdd Tabnine to your IDE (free)

How to use
getUri
method
in
org.springframework.web.reactive.socket.HandshakeInfo

Best Java code snippets using org.springframework.web.reactive.socket.HandshakeInfo.getUri (Showing top 3 results out of 315)

origin: spring-projects/spring-framework

@Override
public String toString() {
  return getClass().getSimpleName() + "[id=" + getId() + ", uri=" + getHandshakeInfo().getUri() + "]";
}
origin: spring-projects/spring-framework

/**
 * Create a new WebSocket session.
 */
protected AbstractWebSocketSession(T delegate, String id, HandshakeInfo info, DataBufferFactory bufferFactory) {
  Assert.notNull(delegate, "Native session is required.");
  Assert.notNull(id, "Session id is required.");
  Assert.notNull(info, "HandshakeInfo is required.");
  Assert.notNull(bufferFactory, "DataBuffer factory is required.");
  this.delegate = delegate;
  this.id = id;
  this.handshakeInfo = info;
  this.bufferFactory = bufferFactory;
  this.attributes.putAll(info.getAttributes());
  this.logPrefix = initLogPrefix(info, id);
  if (logger.isDebugEnabled()) {
    logger.debug(getLogPrefix() + "Session id \"" + getId() + "\" for " + getHandshakeInfo().getUri());
  }
}
origin: org.springframework/spring-web-reactive

@Override
public String toString() {
  return getClass().getSimpleName() + "[id=" + getId() + ", uri=" + getHandshakeInfo().getUri() + "]";
}
org.springframework.web.reactive.socketHandshakeInfogetUri

Javadoc

Return the URL for the WebSocket endpoint.

Popular methods of HandshakeInfo

  • getSubProtocol
    The sub-protocol negotiated at handshake time.
  • <init>
    Constructor with information about the handshake.
  • getAttributes
    Attributes extracted from the handshake request to be added to the WebSocket session.
  • getHeaders
    Return the handshake HTTP headers. Those are the request headers for a server session and the respon
  • getLogPrefix
    A log prefix used in the handshake to correlate log messages, if any.
  • getPrincipal
    Return the principal associated with the handshake HTTP request.

Popular in Java

  • Making http post requests using okhttp
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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