weborb.protocols
Interface IMessageFactory

All Known Implementing Classes:
RequestParser, RequestParser

public interface IMessageFactory

IMessageFactory

Author:
Midnight Coders, LLC

Method Summary
 boolean canParse(javax.servlet.http.HttpServletRequest request)
          Return true if the factory can parse the request
 Message parse(javax.servlet.http.HttpServletRequest request)
          Parse the request and create Message object representing the request
 

Method Detail

canParse

boolean canParse(javax.servlet.http.HttpServletRequest request)
Return true if the factory can parse the request

Parameters:
request -
Returns:

parse

Message parse(javax.servlet.http.HttpServletRequest request)
              throws java.io.IOException
Parse the request and create Message object representing the request

Parameters:
request -
Returns:
Throws:
java.io.IOException


Discuss WebORB

Copyright 2003-2008 Midnight Coders, Inc. All Rights Reserved.