All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.ref-protocolhttpedit.html Maven / Gradle / Ivy

The newest version!


HTTP

Use the HTTP page to modify HTTP settings for a network protocol.

The HTTP page contains the following options.

Load Defaults

Button to restore settings that have default values to their default values. Settings that do not have default values are not changed.

Configuration Name

The name of the configuration to which the settings on this page apply. This field is read only.

Protocol Name

The name of the protocol. The Protocol Name field is a read-only field. You can only specify the name when you create a new protocol.

Server Name

The host name to be used in the URLs the server sends to the client. This name is the alias name if your server uses an alias. If your server does not use an alias, leave this field blank.

Default Virtual Server

The virtual server to be associated with the protocol. Use the Virtual Servers page to define virtual servers.

Redirect Port

Port value that redirects a request to another port. The GlassFish Server automatically redirects the request if these two conditions exist:

  • This protocol is supporting non-SSL requests.

  • A request is received for which a matching security constraint requires SSL transport.

If a redirect port is not specified, the GlassFish Server uses the port number specified in the original request.

Max Connections

The maximum number of persistent connections to be maintained in Keep-Alive mode. The Keep-Alive subsystem periodically polls idle connections. The default value is 256.

Timeout

The maximum time in seconds that a connection can be considered idle and kept in the keep-alive state. A value of 0 or less means that keep-alive connections are kept open indefinitely. The default value is 30 seconds.

A value of -1 disables this timeout.

Upload Timeout

If this option is selected, the connection for a servlet that reads bytes slowly is closed after the Connection Upload Timeout limit is reached. If this option is disabled, servlet connections do not time out. This option is disabled by default.

Connection Upload Timeout

The timeout for uploads, in milliseconds. This field is applicable only if the Upload Timeout Enabled checkbox is selected. The default value is 300000 milliseconds.

A value of -1 disables this timeout.

Request Timeout

The number of seconds before a request times out. If the request is not processed before the timeout value is reached, the request is ignored. The default value is 30 seconds.

A value of -1 disables this timeout.

Send Buffer Size

The size in bytes of the send buffer. The default value is 8192 bytes.

Header Buffer Length

The size in bytes of the buffer used by the request processing threads to read the request data. The default value is 8192 bytes.

Max Post Size

The maximum size in bytes of POST actions using application/x-www-form-urlencoded. The default value is 2097152 bytes.

URI Encoding

The name of the character set used to decode the request URIs received. The value must be a valid IANA character set name. The default value is UTF-8.

Version

The version of the HTTP protocol used. The default value is HTTP/1.1.

Compression

Specifies the use of HTTP/1.1 GZIP compression to save server bandwidth. Available choices are:

on

Compresses data.

off

Disables compression.

force

Forces data compression in all cases.

The default value is off.

Compressible Mime Type

A comma-separated list of MIME types for which HTTP compression is used. The default value is text/html,text/xml,text/plain.

Compression Minimum Size

The minimum size of a file when compression is applied. This value must be set if Compression is set to on or force. The default value is 2048 bytes.

No-Compression User Agents

A comma-separated list of regular expressions matching user agents of HTTP clients for which compression should not be used. By default, this value is an empty string.

Restricted User Agent

A list of restricted user agents on which HTTP compression is applied. If no user agents are specified, HTTP compression is applied to all user agents. By default, no user agents are specified.

Default Response Type

A string that specifies the default response type. The format is a semicolon-delimited string consisting of the content-type, encoding, language, and charset. The default value is text/html; charset=iso-8859-1.

Forced Response Type

A string that specifies the request type used if no MIME mapping is available that matches the file extension. The format is a semicolon-delimited string consisting of the content-type, encoding, language, and charset. The default value is text/html; charset=iso-8859-1.

Adapter

The class name of the static resources adapter. The default value is com.sun.grizzly.tcp.StaticResourcesAdapter.

Comet Support

If this option is selected, Comet support is enabled for the protocol. This option is disabled by default.

DNS Lookup

If this option is selected, Domain Name System (DNS) lookup is enabled. This option is disabled by default.

RCM Support

If this option is selected, Resource Configuration Management (RCM) is enabled. This option is disabled by default.

Trace

If this option is selected, the TRACE operation is enabled. If this option is disabled, the GlassFish Server is less susceptible to cross-site scripting attacks. This option is enabled by default.

Auth Pass Through

If this option is selected, it indicates that the network listener that uses this protocol receives traffic from an SSL-terminating proxy server. This option is disabled by default.

Chunking

If this option is selected, HTTP response chunking is enabled. This option is enabled by default.

XPowered By

If this option is selected, the GlassFish Server uses X-Powered-By headers according to the Java Servlet 3.0 and Java Server Pages 2.0 specifications. This option is enabled by default.

Encoded Slash

If this option is selected, URIs are permitted to contain encoded slashes. This option is disabled by default.

Websockets Support

If this option is selected, the WebSockets protocol is supported. This option is disabled by default.

Related Tasks
Related asadmin Commands
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy