org.glassfish.grizzly.samples.simpleauth
Class MultiLinePacket

java.lang.Object
  extended by org.glassfish.grizzly.samples.simpleauth.MultiLinePacket

public class MultiLinePacket
extends Object

Packet, which contains multiple String lines.

Author:
Alexey Stashok

Method Summary
static MultiLinePacket create()
           
static MultiLinePacket create(String... lines)
           
 boolean equals(Object obj)
           
 List<String> getLines()
          Gets the packet string lines.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static MultiLinePacket create()

create

public static MultiLinePacket create(String... lines)

getLines

public List<String> getLines()
Gets the packet string lines.

Returns:
the packet string lines.

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Oracle Corporation. All Rights Reserved.