public final class ServletDTOBuilder extends Object
| Constructor and Description |
|---|
ServletDTOBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.osgi.service.http.runtime.dto.ServletDTO |
build(ServletHandler handler,
int reason)
Build a servlet DTO from a servlet handler
|
static org.osgi.service.http.runtime.dto.ServletDTO |
build(ServletInfo info,
int reason)
Build a servlet DTO from a servlet info
|
static void |
fill(org.osgi.service.http.runtime.dto.BaseServletDTO dto,
ServletHandler handler)
Build a servlet DTO from a servlet info
|
static void |
fill(org.osgi.service.http.runtime.dto.BaseServletDTO dto,
ServletInfo info)
Build a servlet DTO from a servlet info
|
public static org.osgi.service.http.runtime.dto.ServletDTO build(ServletHandler handler, int reason)
handler - The servlet handlerreason - If reason is -1, a servlet DTO is created, otherwise a failed servlet DTO is returnedpublic static org.osgi.service.http.runtime.dto.ServletDTO build(ServletInfo info, int reason)
info - The servlet infopublic static void fill(org.osgi.service.http.runtime.dto.BaseServletDTO dto,
ServletHandler handler)
info - The servlet infopublic static void fill(org.osgi.service.http.runtime.dto.BaseServletDTO dto,
ServletInfo info)
info - The servlet infoCopyright © 2006–2020 The Apache Software Foundation. All rights reserved.