The following tables describe the Network Service elements and attributes that were introduced in Sun GlassFish Enterprise Server v3. For attributes and properties remapped from discontinued elements to new elements, see Remapping of HTTP Service Attributes and Properties.
The new file-cache element has no new attributes. All of its attributes are remapped from the http-file-cache element. For details, see Table 1–4.
Table 1–14 New http Attributes
Attribute |
Default |
Description |
---|---|---|
adapter |
com.sun.grizzly.tcp.StaticResourcesAdapter |
(Optional) Specifies the class name of the static resources adapter. |
max-post-size-bytes |
2097152 |
(Optional) Specifies the maximum size of POST actions. |
For remapped http attributes, see Table 1–3, Table 1–5, Table 1–6, Table 1–7, Table 1–9, and Table 1–10.
Table 1–15 New network-listener Attributes
Attribute |
Default |
Description |
---|---|---|
protocol |
none |
Specifies the name of the protocol associated with this network-listener. Although this attribute is required, a protocol is automatically created with the same name as the network-listener when you use asadmin create-http-listener to create a network-listener. |
thread-pool |
none |
(Optional) Specifies the name of the thread-pool associated with this network-listener. |
transport |
none |
Specifies the name of the transport associated with this network-listener. Although this attribute is required, the default transport is used when you use asadmin create-http-listener to create a network-listener. |
For remapped network-listener attributes, see Table 1–5.
Table 1–16 New port-unification Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the port-unification. |
classname |
none |
Specifies the class name of the port-unification implementation. |
Table 1–17 New protocol Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the protocol. |
For remapped protocol attributes, see Table 1–5.
Table 1–18 New protocol-chain Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the protocol-chain. |
classname |
none |
Specifies the class name of the protocol-chain implementation. |
type |
STATELESS |
Specifies the type of protocol chain. |
Table 1–19 New protocol-chain-instance-handler Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the protocol-chain-instance-handler. |
classname |
none |
Specifies the class name of the protocol-chain-instance-handler implementation. |
Table 1–20 New protocol-filter Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the protocol-filter. |
classname |
none |
Specifies the class name of the protocol-filter implementation. |
Table 1–21 New protocol-finder Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the protocol-finder. |
classname |
none |
Specifies the class name of the protocol-finder implementation. |
protocol |
none |
Specifies the name of the protocol associated with this protocol-finder. |
Table 1–22 New selection-key-handler Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the selection-key-handler. |
classname |
none |
Specifies the class name of the selection-key-handler implementation. |
Table 1–23 New ssl Attributes
Attribute |
Default |
Description |
---|---|---|
key-store |
none |
(Optional) Specifies a key store. |
trust-store |
none |
(Optional) Specifies a trust store. |
For remapped ssl attributes, see Table 1–11.
Table 1–24 New thread-pool Attributes
Attribute |
Default |
Description |
---|---|---|
classname |
com.sun.grizzly.http.StatsThreadPool |
(Optional) Specifies the class name of the thread-pool implementation. |
max-queue-size |
-1 |
(Optional) Specifies the maximum number of messages that can be queued until threads are available to process them. A value of -1 specifies no limit. |
For remapped thread-pool attributes, see Table 1–3, Table 1–10, and Table 1–12.
Table 1–25 New transport Attributes
Attribute |
Default |
Description |
---|---|---|
name |
none |
Specifies a unique name for the transport. |
classname |
com.sun.grizzly.TCPSelectorHandler |
(Optional) Specifies the class name of the transport implementation. |
selection-key-handler |
none |
(Optional) Specifies the name of the selection-key-handler associated with this transport. |
idle-key-timeout-seconds |
30 |
(Optional) Specifies the idle key timeout. |
For remapped transport attributes, see Table 1–2, Table 1–3, Table 1–5, and Table 1–6.