org.mozilla.jrex.event.uricontent
Class CanHandleEventParam

java.lang.Object
  extended byorg.mozilla.jrex.event.uricontent.CanHandleEventParam

public class CanHandleEventParam
extends Object

The class wrapping the DoContent event parameters.

Version:
1.0
Author:
C.N.Medappa

Constructor Summary
CanHandleEventParam(boolean isContentPreferred, String contentType)
          CanHandleEventParam constructor
 
Method Summary
 String getContentType()
          Returns the content type of the request.
 boolean isContentPreferred()
          Returns whether content type is preferred.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CanHandleEventParam

public CanHandleEventParam(boolean isContentPreferred,
                           String contentType)
CanHandleEventParam constructor

Parameters:
isContentPreferred - true if content type is preferred.
contentType - content type of the request.
See Also:
URIContentEventConstants
Method Detail

isContentPreferred

public boolean isContentPreferred()
Returns whether content type is preferred.


getContentType

public String getContentType()
Returns the content type of the request.


toString

public String toString()


Copyright © 2004 C.N.Medappa. All Rights Reserved.