Package net.webpdf.wsclient.openapi
Class ServerConfigHost
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigHost
-
public class ServerConfigHost extends Object
Defines the host name and context path of the server.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTEXT_PATHstatic StringJSON_PROPERTY_CSPstatic StringJSON_PROPERTY_FILTERstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_VALVE
-
Constructor Summary
Constructors Constructor Description ServerConfigHost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerConfigHostaddFilterItem(ServerConfigHostFilter filterItem)ServerConfigHostaddValveItem(ServerConfigHostValve valveItem)ServerConfigHostcontextPath(String contextPath)ServerConfigHostcsp(ServerConfigHostCsp csp)booleanequals(Object o)ServerConfigHostfilter(List<ServerConfigHostFilter> filter)@Nullable StringgetContextPath()Sets the context path of the server address for the portal and the web services (e.g., http://localhost/webPDF).@Nullable ServerConfigHostCspgetCsp()Get csp@Nullable List<ServerConfigHostFilter>getFilter()A `filter` element represents a component to insert into the request processing pipeline of the underlying Tomcat server.@Nullable StringgetName()Sets the host name part of the server address (e.g. http://localhost).@Nullable List<ServerConfigHostValve>getValve()A `valve` element represents a component to insert into the request processing pipeline of the underlying Tomcat server.inthashCode()ServerConfigHostname(String name)voidsetContextPath(String contextPath)voidsetCsp(ServerConfigHostCsp csp)voidsetFilter(List<ServerConfigHostFilter> filter)voidsetName(String name)voidsetValve(List<ServerConfigHostValve> valve)StringtoString()ServerConfigHostvalve(List<ServerConfigHostValve> valve)
-
-
-
Field Detail
-
JSON_PROPERTY_CONTEXT_PATH
public static final String JSON_PROPERTY_CONTEXT_PATH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CSP
public static final String JSON_PROPERTY_CSP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILTER
public static final String JSON_PROPERTY_FILTER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALVE
public static final String JSON_PROPERTY_VALVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
contextPath
public ServerConfigHost contextPath(String contextPath)
-
getContextPath
@Nullable public @Nullable String getContextPath()
Sets the context path of the server address for the portal and the web services (e.g., http://localhost/webPDF).- Returns:
- contextPath
-
setContextPath
public void setContextPath(String contextPath)
-
csp
public ServerConfigHost csp(ServerConfigHostCsp csp)
-
getCsp
@Nullable public @Nullable ServerConfigHostCsp getCsp()
Get csp- Returns:
- csp
-
setCsp
public void setCsp(ServerConfigHostCsp csp)
-
filter
public ServerConfigHost filter(List<ServerConfigHostFilter> filter)
-
addFilterItem
public ServerConfigHost addFilterItem(ServerConfigHostFilter filterItem)
-
getFilter
@Nullable public @Nullable List<ServerConfigHostFilter> getFilter()
A `filter` element represents a component to insert into the request processing pipeline of the underlying Tomcat server. (See: https://tomcat.apache.org/tomcat-10.1-doc/config/filter.html for further information.)- Returns:
- filter
-
setFilter
public void setFilter(List<ServerConfigHostFilter> filter)
-
name
public ServerConfigHost name(String name)
-
getName
@Nullable public @Nullable String getName()
Sets the host name part of the server address (e.g. http://localhost).- Returns:
- name
-
setName
public void setName(String name)
-
valve
public ServerConfigHost valve(List<ServerConfigHostValve> valve)
-
addValveItem
public ServerConfigHost addValveItem(ServerConfigHostValve valveItem)
-
getValve
@Nullable public @Nullable List<ServerConfigHostValve> getValve()
A `valve` element represents a component to insert into the request processing pipeline of the underlying Tomcat server. (See: https://tomcat.apache.org/tomcat-10.1-doc/config/valve.html for further information.)- Returns:
- valve
-
setValve
public void setValve(List<ServerConfigHostValve> valve)
-
-