Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp.protocol
Class FrameHeader

java.lang.Object
  extended by org.projectodd.stilts.stomp.protocol.FrameHeader

public class FrameHeader
extends Object


Constructor Summary
FrameHeader()
           
FrameHeader(StompFrame.Command command)
           
FrameHeader(StompFrame.Command command, Headers headers)
           
 
Method Summary
 String get(String name)
           
 StompFrame.Command getCommand()
           
 int getContentLength()
           
 Headers getMap()
           
 Set<String> getNames()
           
 boolean isContentFrame()
           
 void set(String name, String value)
           
 void setCommand(StompFrame.Command command)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FrameHeader

public FrameHeader()

FrameHeader

public FrameHeader(StompFrame.Command command)

FrameHeader

public FrameHeader(StompFrame.Command command,
                   Headers headers)
Method Detail

isContentFrame

public boolean isContentFrame()

setCommand

public void setCommand(StompFrame.Command command)

getCommand

public StompFrame.Command getCommand()

set

public void set(String name,
                String value)

get

public String get(String name)

getNames

public Set<String> getNames()

getMap

public Headers getMap()

getContentLength

public int getContentLength()

toString

public String toString()
Overrides:
toString in class Object

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.