public class

PrecompressLinker

extends AbstractLinker
java.lang.Object
   ↳ com.google.gwt.core.ext.Linker
     ↳ com.google.gwt.core.ext.linker.AbstractLinker
       ↳ com.google.gwt.precompress.linker.PrecompressLinker

Class Overview

A linker that precompresses the public artifacts that it sees. That way, a web server that uses gzip transfer encoding can use the precompressed files instead of having to compress them on the fly.

To use this linker, add the following to your module definition:

   <inherits name="com.google.gwt.precompress.Precompress"/>
 

The files to precompress are specified by the configuration property precompress.path.regexes. By default, the uncompressed artifacts are left in the artifact set. If the configuration property precompress.leave.originals is set to false, however, then the uncompressed version is removed.

Summary

Public Constructors
PrecompressLinker()
Public Methods
String getDescription()
ArtifactSet link(TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation)
[Expand]
Inherited Methods
From class com.google.gwt.core.ext.linker.AbstractLinker
From class com.google.gwt.core.ext.Linker
From class java.lang.Object

Public Constructors

public PrecompressLinker ()

Public Methods

public String getDescription ()

public ArtifactSet link (TreeLogger logger, LinkerContext context, ArtifactSet artifacts, boolean onePermutation)

Throws
UnableToCompleteException