public class NTLMMessageFactory extends MessageFactory
Constructor and Description |
---|
NTLMMessageFactory() |
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.
|
newInstance
public boolean accepts(InputStream in) throws IOException
MessageFactory
accepts
in class MessageFactory
IOException
public NegotiationMessage createMessage(InputStream in) throws IOException
MessageFactory
createMessage
in class MessageFactory
IOException
Copyright © 2014 JBoss by Red Hat. All rights reserved.