asadmin [asadmin-options] create-protocol-filter [--help]
--protocol protocol-name
--classname class-name
[--target server]
protocol-filter-name
create-protocol-filter |
Previous | Next | Contents |
adds a new protocol filter
Synopsis
asadmin [asadmin-options] create-protocol-filter [--help]
--protocol protocol-name
--classname class-name
[--target server]
protocol-filter-name
Description
The create-protocol-filter
subcommand creates a protocol filter for a
protocol. This subcommand is supported in remote mode only.
Options
Options for the asadmin
utility. For information about these
options, see the asadmin
(1M) help page.
--help
-?
Displays the help text for the subcommand.
--protocol
The name of the associated protocol.
--classname
The fully qualified name of the Java class that implements the protocol filter.
--target
Creates the protocol filter only on the specified target. Valid values
are as follows:
server
Creates the protocol filter on the default server instance. This is the default value.
Creates the protocol filter in the specified configuration.
Creates the protocol filter on all server instances in the specified cluster.
Creates the protocol filter on the specified standalone server instance.
Operands
The name of the protocol filter.
Examples
Example 1 Creating a Protocol Filter
The following command creates a protocol filter named http1-filter
:
asadmin> create-protocol-filter --protocol http1
--classname com.company22.MyProtocolFilter http1-filter
Command create-protocol-filter executed successfully.
Exit Status
command executed successfully
error in executing the command
See Also
Previous | Next | Contents |