Class ServerConfiguration

java.lang.Object
com.smeup.kokos.sdk.configuration.ServerConfiguration

public class ServerConfiguration extends Object
Author:
mattia.bonardi This model refers to server declared into [APPLICATION].yaml
  • Constructor Details

    • ServerConfiguration

      public ServerConfiguration()
  • Method Details

    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • getIdleTimeout

      public int getIdleTimeout()
    • setIdleTimeout

      public void setIdleTimeout(int idleTimeout)
    • getTimeoutRequestOnExternalCall

      public int getTimeoutRequestOnExternalCall()
    • setTimeoutRequestOnExternalCall

      public void setTimeoutRequestOnExternalCall(int timeoutRequestOnExternalCall)
    • getMaxThreads

      public int getMaxThreads()
    • setMaxThreads

      public void setMaxThreads(int maxThreads)
    • isUseVirtualThreads

      public boolean isUseVirtualThreads()
    • setUseVirtualThreads

      public void setUseVirtualThreads(boolean useVirtualThreads)
    • setFunExecutionTimeout

      public void setFunExecutionTimeout(int funExecutionTimeout)
    • getFunExecutionTimeout

      public int getFunExecutionTimeout()
    • getFunBatchExecutionTimeout

      public int getFunBatchExecutionTimeout()
    • setFunBatchExecutionTimeout

      public void setFunBatchExecutionTimeout(int funBatchExecutionTimeout)
    • setHandleXForwarded

      public void setHandleXForwarded(boolean handleXForwarded)
      Sets the handleXForwarded property. Default is false. This property must be true when MEX is behind the proxy, and you are using third-party libraries that need to retrieve from the request the URL typed by the user in the browser.
      Parameters:
      handleXForwarded - a boolean indicating whether to handle X-Forwarded headers
    • isHandleXForwarded

      public boolean isHandleXForwarded()
      Checks if the handleXForwarded property is enabled. Default is false.
      Returns:
      true if handleXForwarded is enabled, false otherwise