public class DefaultCharset extends Object implements Extension, IEventListener
Content-Type: text/htmlbecomes
Content-Type:text/html; charset=utf-8
Default charset can be set in esigate.properties using
driverid.defaultCharset = utf - 8
Modifier and Type | Field and Description |
---|---|
static Parameter<String> |
PARAM_DEFAULT_CHARSET
default charset.
|
Constructor and Description |
---|
DefaultCharset() |
Modifier and Type | Method and Description |
---|---|
boolean |
event(EventDefinition arg0,
Event arg1)
Handle an event.
|
void |
init(Driver driver,
Properties properties)
Initialize the extension using the given properties.
|
public void init(Driver driver, Properties properties)
Extension
Extensions may register to events during the init phase.
public boolean event(EventDefinition arg0, Event arg1)
IEventListener
event
in interface IEventListener
Copyright © 2008–2018. All rights reserved.