Interface Http

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag

public interface Http extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
Created Jan 8, 2009
Author:
Justin Lee
  • Field Details

  • Method Details

    • getAdapter

      String getAdapter()
    • setAdapter

      void setAdapter(String adapter)
    • getAuthPassThroughEnabled

      String getAuthPassThroughEnabled()
      Enable pass through of authentication from any front-end server
    • setAuthPassThroughEnabled

      void setAuthPassThroughEnabled(String bool)
    • getChunkingEnabled

      String getChunkingEnabled()
    • setChunkingEnabled

      void setChunkingEnabled(String enabled)
    • getCometSupportEnabled

      String getCometSupportEnabled()
      Enable comet support for this http instance. The default for this is false until enabling comet support but not using it can be verified as harmless. Currently it is unclear what the performance impact of enabling this feature is.
    • setCometSupportEnabled

      void setCometSupportEnabled(String enable)
    • getCompressableMimeType

      String getCompressableMimeType()
    • setCompressableMimeType

      void setCompressableMimeType(String type)
    • getCompression

      @Pattern(regexp="on|off|force|\\d+", message="Pattern: on|off|force|\\d+") @Pattern(regexp="on|off|force|\\d+",message="Pattern: on|off|force|\\d+") String getCompression()
    • setCompression

      void setCompression(String compression)
    • getCompressionMinSizeBytes

      String getCompressionMinSizeBytes()
    • setCompressionMinSizeBytes

      void setCompressionMinSizeBytes(String size)
    • getConnectionUploadTimeoutMillis

      String getConnectionUploadTimeoutMillis()
    • setConnectionUploadTimeoutMillis

      void setConnectionUploadTimeoutMillis(String timeout)
    • getDefaultResponseType

      String getDefaultResponseType()
      Setting the default response-type. Specified as a semi-colon delimited string consisting of content-type, encoding, language, charset
    • setDefaultResponseType

      void setDefaultResponseType(String defaultResponseType)
    • getDefaultVirtualServer

      String getDefaultVirtualServer()
      The id attribute of the default virtual server for this particular connection group.
    • setDefaultVirtualServer

      void setDefaultVirtualServer(String defaultVirtualServer)
    • getDnsLookupEnabled

      String getDnsLookupEnabled()
    • setDnsLookupEnabled

      void setDnsLookupEnabled(String enable)
    • getEncodedSlashEnabled

      String getEncodedSlashEnabled()
    • setEncodedSlashEnabled

      void setEncodedSlashEnabled(String enabled)
    • getFileCache

      @NotNull @NotNull FileCache getFileCache()
      Gets the value of the fileCache property.
    • setFileCache

      void setFileCache(FileCache value)
    • getForcedResponseType

      @Deprecated String getForcedResponseType()
      Deprecated.
      The response type to be forced if the content served cannot be matched by any of the MIME mappings for extensions. Specified as a semi-colon delimited string consisting of content-type, encoding, language, charset
    • setForcedResponseType

      @Deprecated void setForcedResponseType(String forcedResponseType)
      Deprecated.
    • getHeaderBufferLengthBytes

      String getHeaderBufferLengthBytes()
      The size of the buffer used by the request processing threads for reading the request data
    • setHeaderBufferLengthBytes

      void setHeaderBufferLengthBytes(String length)
    • getMaxConnections

      String getMaxConnections()
      Max number of connection in the Keep Alive mode
    • setMaxConnections

      void setMaxConnections(String max)
    • getMaxFormPostSizeBytes

      String getMaxFormPostSizeBytes()
    • setMaxFormPostSizeBytes

      void setMaxFormPostSizeBytes(String max)
    • getMaxPostSizeBytes

      String getMaxPostSizeBytes()
    • setMaxPostSizeBytes

      void setMaxPostSizeBytes(String max)
    • getMaxSavePostSizeBytes

      String getMaxSavePostSizeBytes()
    • setMaxSavePostSizeBytes

      void setMaxSavePostSizeBytes(String max)
    • getMaxSwallowingInputBytes

      String getMaxSwallowingInputBytes()
    • setMaxSwallowingInputBytes

      void setMaxSwallowingInputBytes(String max)
    • getNoCompressionUserAgents

      String getNoCompressionUserAgents()
    • setNoCompressionUserAgents

      void setNoCompressionUserAgents(String agents)
    • getRcmSupportEnabled

      @Deprecated String getRcmSupportEnabled()
      Deprecated.
    • setRcmSupportEnabled

      void setRcmSupportEnabled(String enable)
    • getRedirectPort

      @Range(min=0, max=65535) String getRedirectPort()
      if the connector is supporting non-SSL requests and a request is received for which a matching security-constraint requires SSL transport catalina will automatically redirect the request to the port number specified here
    • setRedirectPort

      void setRedirectPort(String redirectPort)
    • getRequestTimeoutSeconds

      String getRequestTimeoutSeconds()
      Time after which the request times out in seconds
    • setRequestTimeoutSeconds

      void setRequestTimeoutSeconds(String timeout)
    • getRestrictedUserAgents

      String getRestrictedUserAgents()
    • setRestrictedUserAgents

      void setRestrictedUserAgents(String agents)
    • getSendBufferSizeBytes

      String getSendBufferSizeBytes()
      Size of the buffer for response bodies in bytes
    • setSendBufferSizeBytes

      void setSendBufferSizeBytes(String size)
    • getServerName

      String getServerName()
      Tells the server what to put in the host name section of any URLs it sends to the client. This affects URLs the server automatically generates; it doesn't affect the URLs for directories and files stored in the server. This name should be the alias name if your server uses an alias. If you append a colon and port number, that port will be used in URLs the server sends to the client.
    • setServerName

      void setServerName(String serverName)
    • getTimeoutSeconds

      String getTimeoutSeconds()
      Keep Alive timeout, max time a connection can be deemed as idle and kept in the keep-alive state
    • setTimeoutSeconds

      void setTimeoutSeconds(String timeout)
    • getWebsocketsTimeoutSeconds

      String getWebsocketsTimeoutSeconds()
      Max time a connection may be idle before being closed.
      Since:
      2.1.5
    • setWebsocketsTimeoutSeconds

      void setWebsocketsTimeoutSeconds(String timeout)
    • getTraceEnabled

      String getTraceEnabled()
    • setTraceEnabled

      void setTraceEnabled(String enabled)
    • getUploadTimeoutEnabled

      String getUploadTimeoutEnabled()
    • setUploadTimeoutEnabled

      void setUploadTimeoutEnabled(String disable)
    • getUriEncoding

      String getUriEncoding()
    • setUriEncoding

      void setUriEncoding(String encoding)
    • getVersion

      String getVersion()
      The version of the HTTP protocol used by the HTTP Service
    • setVersion

      void setVersion(String version)
    • getScheme

      @Pattern(regexp="http|https") @Pattern(regexp="http|https") String getScheme()
      The HTTP scheme (http or https) to override HTTP request scheme picked up by Grizzly or web-container during HTTP request processing.
    • setScheme

      void setScheme(String scheme)
    • getSchemeMapping

      String getSchemeMapping()
      Returns the HTTP request header name, whose value (if non-null) would be used to override default protocol scheme picked up by framework during request processing.
    • setSchemeMapping

      void setSchemeMapping(String schemeMapping)
    • getRemoteUserMapping

      String getRemoteUserMapping()
      Returns the HTTP request header name, whose value (if non-null) would be used to set the name of the remote user that has been authenticated for HTTP Request.
    • setRemoteUserMapping

      void setRemoteUserMapping(String remoteUserMapping)
    • getWebsocketsSupportEnabled

      String getWebsocketsSupportEnabled()
    • setWebsocketsSupportEnabled

      void setWebsocketsSupportEnabled(String enabled)
    • getJkConfigurationFile

      String getJkConfigurationFile()
    • setJkConfigurationFile

      void setJkConfigurationFile(String file)
    • getJkEnabled

      String getJkEnabled()
      If true, a jk listener is enabled
    • setJkEnabled

      void setJkEnabled(String enabled)
    • getMaxRequestParameters

      String getMaxRequestParameters()
      Returns the maximum number of parameters allowed per request. If the value less than zero, then there will be no limit on parameters. If not explicitly configured, this returns 10000.
      Returns:
      the maximum number of parameters or 10000 if not explicitly configured.
      Since:
      2.2.8
    • setMaxRequestParameters

      void setMaxRequestParameters()
      Sets the maximum number of parameters allowed for a request. If the value is zero or less, then there will be no limit on parameters.
      Since:
      2.2.8
    • getMaxRequestHeaders

      String getMaxRequestHeaders()
      Returns the maximum number of headers allowed for a request.
      Since:
      2.2.11
    • setMaxRequestHeaders

      void setMaxRequestHeaders(String maxRequestHeaders)
    • getMaxResponseHeaders

      String getMaxResponseHeaders()
      Returns the maximum number of headers allowed for a response.
      Since:
      2.2.11
    • setMaxResponseHeaders

      void setMaxResponseHeaders(String maxRequestHeaders)
    • getXpoweredBy

      String getXpoweredBy()
      The Servlet 2.4 spec defines a special X-Powered-By: Servlet/2.4 header, which containers may add to servlet-generated responses. This is complemented by the JSP 2.0 spec, which defines a X-Powered-By: JSP/2.0 header to be added (on an optional basis) to responses utilizing JSP technology. The goal of these headers is to aid in gathering statistical data about the use of Servlet and JSP technology. If true, these headers will be added.
    • setXpoweredBy

      void setXpoweredBy(String xpoweredBy)
    • getAllowPayloadForUndefinedHttpMethods

      String getAllowPayloadForUndefinedHttpMethods()
      Returns:
      true, if payload will be allowed for HTTP methods, for which spec doesn't state explicitly if payload allowed or not.
      Since:
      4.2
    • setAllowPayloadForUndefinedHttpMethods

      void setAllowPayloadForUndefinedHttpMethods(String allowPayloadForUndefinedHttpMethods)
    • getHttp2MaxConcurrentStreams

      int getHttp2MaxConcurrentStreams()
      Configures the number of concurrent streams allowed per HTTP2 connection. The default is 100.
    • setHttp2MaxConcurrentStreams

      void setHttp2MaxConcurrentStreams(int maxConcurrentStreams)
    • getHttp2InitialWindowSizeInBytes

      int getHttp2InitialWindowSizeInBytes()
      Configures the initial window size in bytes. The default is 64K - 1.
    • setHttp2InitialWindowSizeInBytes

      void setHttp2InitialWindowSizeInBytes(int initialWindowSizeInBytes)
    • getHttp2MaxFramePayloadSizeInBytes

      int getHttp2MaxFramePayloadSizeInBytes()
      Configures the maximum size of the HTTP2 frame payload to be accepted. The default is 2^24 - 1.
    • setHttp2MaxFramePayloadSizeInBytes

      void setHttp2MaxFramePayloadSizeInBytes(int maxFramePayloadSizeInBytes)
    • getHttp2MaxHeaderListSizeInBytes

      int getHttp2MaxHeaderListSizeInBytes()
      Configures the maximum size, in bytes, of the header list.
    • setHttp2MaxHeaderListSizeInBytes

      void setHttp2MaxHeaderListSizeInBytes(int maxHeaderListSizeInBytes)
    • isHttp2DisableCipherCheck

      boolean isHttp2DisableCipherCheck()
      Controls whether or not insecure cipher suites are allowed to establish TLS connections.
    • setHttp2DisableCipherCheck

      void setHttp2DisableCipherCheck(boolean disableCipherCheck)
    • isHttp2Enabled

      boolean isHttp2Enabled()
      Controls whether or not HTTP/2 is enabled..
    • setHttp2Enabled

      void setHttp2Enabled(boolean http2Enabled)
    • getParent

      @DuckTyped Protocol getParent()
      Specified by:
      getParent in interface org.jvnet.hk2.config.ConfigBeanProxy