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_NAMEstatic StringJSON_PROPERTY_VALVE
-
Constructor Summary
Constructors Constructor Description ServerConfigHost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerConfigHostaddValveItem(ServerConfigValveHost valveItem)ServerConfigHostcontextPath(String contextPath)booleanequals(Object o)@Nullable StringgetContextPath()Sets the context path of the server address for the portal and the web services (e.g. http://localhost/webPDF).@Nullable StringgetName()Sets the host name part of the server address (e.g. http://localhost).@Nullable List<ServerConfigValveHost>getValve()A component to insert into the request processing pipeline of the underlying tomcat server.inthashCode()ServerConfigHostname(String name)voidsetContextPath(String contextPath)voidsetName(String name)voidsetValve(List<ServerConfigValveHost> valve)StringtoString()ServerConfigHostvalve(List<ServerConfigValveHost> valve)
-
-
-
Field Detail
-
JSON_PROPERTY_CONTEXT_PATH
public static final String JSON_PROPERTY_CONTEXT_PATH
- 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)
-
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<ServerConfigValveHost> valve)
-
addValveItem
public ServerConfigHost addValveItem(ServerConfigValveHost valveItem)
-
getValve
@Nullable public @Nullable List<ServerConfigValveHost> getValve()
A component to insert into the request processing pipeline of the underlying tomcat server. (See: https://tomcat.apache.org/tomcat-8.5-doc/config/valve.html for further information.)- Returns:
- valve
-
setValve
public void setValve(List<ServerConfigValveHost> valve)
-
-