org.apache.myfaces.extensions.cdi.jsf.api.request
Interface RequestTypeResolver

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractRequestTypeResolver

public interface RequestTypeResolver
extends Serializable

Pluggable (internal) helper for resolving the type of the current request. For JSF 1.2 it allows to call the functionality e.g. of a component lib for detecting the type of the current request. For JSF 2+ it delegates the detection to JSF itself.

Author:
Gerhard Petracek

Method Summary
 boolean isPartialRequest()
          Exposes if the current request isn't a full request
 boolean isPostRequest()
          Exposes if the current request is a post request
 

Method Detail

isPartialRequest

boolean isPartialRequest()
Exposes if the current request isn't a full request

Returns:
false if the current request is a full request, true otherwise

isPostRequest

boolean isPostRequest()
Exposes if the current request is a post request

Returns:
true if the current requset is a post request, true otherwise


Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.