com.nesscomputing.httpserver.jetty
Class StaticResourceHandlerProvider

java.lang.Object
  extended by com.nesscomputing.httpserver.jetty.StaticResourceHandlerProvider
All Implemented Interfaces:
javax.inject.Provider<org.eclipse.jetty.server.Handler>

public class StaticResourceHandlerProvider
extends Object
implements com.google.inject.Provider<org.eclipse.jetty.server.Handler>

Serves static resources from a path in the filesystem. The location should be in the galaxy tarball and set by configuration.


Constructor Summary
StaticResourceHandlerProvider(String contextPath)
           
 
Method Summary
 org.eclipse.jetty.server.Handler get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticResourceHandlerProvider

public StaticResourceHandlerProvider(@Nonnull
                                     String contextPath)
Method Detail

get

public org.eclipse.jetty.server.Handler get()
Specified by:
get in interface javax.inject.Provider<org.eclipse.jetty.server.Handler>


Copyright © 2012 Ness Computing, Inc.. All Rights Reserved.