Interface FileExposerMixin<SELF extends org.nustaq.kontraktor.Actor<SELF>>


public interface FileExposerMixin<SELF extends org.nustaq.kontraktor.Actor<SELF>>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.util.concurrent.ConcurrentHashMap<java.lang.String,​org.nustaq.kontraktor.apputil.ExposeEntry> exposedDocuments  
    static java.lang.String URLPREFIX  
  • Method Summary

    Modifier and Type Method Description
    static void auto​(org.nustaq.kontraktor.remoting.http.undertow.builder.BldFourK bld, java.lang.Object mixin)  
    default java.lang.String exposeFile​(java.io.File localPath, java.lang.String type, Crypter cr)  
    default void handleExposedFileAccess​(io.undertow.server.HttpServerExchange httpServerExchange)  
    default org.nustaq.kontraktor.apputil.ExposeEntry takeFile​(java.lang.String id)  
  • Field Details

    • URLPREFIX

      static final java.lang.String URLPREFIX
      See Also:
      Constant Field Values
    • exposedDocuments

      static final java.util.concurrent.ConcurrentHashMap<java.lang.String,​org.nustaq.kontraktor.apputil.ExposeEntry> exposedDocuments
  • Method Details

    • auto

      static void auto​(org.nustaq.kontraktor.remoting.http.undertow.builder.BldFourK bld, java.lang.Object mixin)
    • handleExposedFileAccess

      default void handleExposedFileAccess​(io.undertow.server.HttpServerExchange httpServerExchange)
    • exposeFile

      default java.lang.String exposeFile​(java.io.File localPath, java.lang.String type, Crypter cr)
    • takeFile

      default org.nustaq.kontraktor.apputil.ExposeEntry takeFile​(java.lang.String id)