public class SPNEGOMessageFactory extends MessageFactory
| Constructor and Description |
|---|
SPNEGOMessageFactory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(InputStream in)
Peek at the data in the InputStream and return true if this
MessageFactory can handle the data.
|
NegotiationMessage |
createMessage(InputStream in)
Read the message from the InputStream and create the Java
representation of the message.
|
newInstancepublic boolean accepts(InputStream in) throws IOException
MessageFactoryaccepts in class MessageFactoryIOExceptionpublic NegotiationMessage createMessage(InputStream in) throws IOException
MessageFactorycreateMessage in class MessageFactoryIOExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.