org.springframework.boot.context.embedded

Class Compression



  • public class Compression
    extends Object
    Simple container-independent abstraction for compression configuration.
    Since:
    1.3.0
    Author:
    Ivan Sopov, Andy Wilkinson
    • Constructor Detail

      • Compression

        public Compression()
    • Method Detail

      • getEnabled

        public boolean getEnabled()
      • setEnabled

        public void setEnabled(boolean enabled)
      • getMimeTypes

        public String[] getMimeTypes()
      • setMimeTypes

        public void setMimeTypes(String[] mimeTypes)
      • getMinResponseSize

        public int getMinResponseSize()
      • setMinResponseSize

        public void setMinResponseSize(int minSize)
      • getExcludedUserAgents

        public String[] getExcludedUserAgents()
      • setExcludedUserAgents

        public void setExcludedUserAgents(String[] excludedUserAgents)

Copyright © 2017 Pivotal Software, Inc.. All rights reserved.