org.jboss.security.negotiation
Class NegotiationMessage

java.lang.Object
  extended by org.jboss.security.negotiation.NegotiationMessage
Direct Known Subclasses:
NegotiateMessage, SPNEGOMessage

public abstract class NegotiationMessage
extends Object

The common base type for all negotiation messages.

Since:
10th August 2008
Version:
$Revision: 83572 $
Author:
darran.lofthouse@jboss.com

Constructor Summary
NegotiationMessage()
           
 
Method Summary
abstract  String getMessageType()
           
abstract  void writeTo(OutputStream os)
          Write the message to the provided output stream in it's raw form.
 void writeTo(OutputStream os, boolean base64)
          Write the message to the provided output stream, if base64 is set the output should be base64 encoded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegotiationMessage

public NegotiationMessage()
Method Detail

writeTo

public abstract void writeTo(OutputStream os)
                      throws IOException
Write the message to the provided output stream in it's raw form.

Throws:
IOException

getMessageType

public abstract String getMessageType()
Returns:
The message type.

writeTo

public void writeTo(OutputStream os,
                    boolean base64)
             throws IOException
Write the message to the provided output stream, if base64 is set the output should be base64 encoded.

Throws:
IOException


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