This project has retired. For details please refer to its Attic page.
StaticFileResource (Lens 2.0.1-beta-incubating API)

org.apache.lens.server.ui
Class StaticFileResource

java.lang.Object
  extended by org.apache.lens.server.ui.StaticFileResource

@Path(value="/")
public class StaticFileResource
extends Object

The Class StaticFileResource.


Field Summary
static org.apache.commons.logging.Log LOG
          The Constant LOG.
 
Constructor Summary
StaticFileResource()
           
 
Method Summary
 javax.ws.rs.core.Response getStaticResource(String filePath)
          Gets the static resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
The Constant LOG.

Constructor Detail

StaticFileResource

public StaticFileResource()
Method Detail

getStaticResource

@GET
@Path(value="/{filePath:.*}")
public javax.ws.rs.core.Response getStaticResource(@PathParam(value="filePath")
                                                            String filePath)
Gets the static resource.

Parameters:
filePath - the file path
Returns:
the static resource


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.