net.northfuse.resources
Interface ResourceHandler

All Known Implementing Classes:
ResourceHandlerImpl, ScriptResourceHandler, StyleResourceHandler

public interface ResourceHandler

Author:
tylers2

Method Summary
 org.springframework.core.io.Resource getAggregatedResource()
          Aggregates the resource, creating a new resource.
 java.lang.String getMapping()
          Gets the mapping of this resource.
 org.springframework.http.MediaType getMediaType()
          Gets the media type.
 boolean isDebug()
          Gets whether or not this is in debug mode.
 

Method Detail

isDebug

boolean isDebug()
Gets whether or not this is in debug mode.

Returns:
debug flag

getMapping

java.lang.String getMapping()
Gets the mapping of this resource.

Returns:
The mapping

getAggregatedResource

org.springframework.core.io.Resource getAggregatedResource()
Aggregates the resource, creating a new resource.

Returns:
a non-null resource

getMediaType

org.springframework.http.MediaType getMediaType()
Gets the media type.

Returns:
A non-null media-type


Copyright © 2011. All Rights Reserved.