JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.websocket

Interface Decoder.TextStream<T>

  • All Superinterfaces:
    Decoder
    Enclosing interface:
    Decoder


    public static interface Decoder.TextStream<T>
    extends Decoder 
    This interface defines how a custom object of type T is decoded from a web socket message in the form of a character stream.
    • Method Detail

      • decode

        T decode(Reader reader)
         throws DecodeException,
         IOException 
        Reads the websocket message from the implementation provided Reader and decodes it into an instance of the supplied object type.
        Parameters:
        reader - the reader from which to read the web socket message.
        Returns:
        the instance of the object that is the decoded web socket message.
        Throws:
        DecodeException
        IOException
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /