public abstract class BaseHttpDirective extends java.lang.Object implements HttpDirective, Directive
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
name |
private java.lang.String |
namespace |
private java.lang.String |
shortName |
构造器和说明 |
---|
BaseHttpDirective() |
限定符和类型 | 方法和说明 |
---|---|
void |
execute(org.springframework.http.converter.HttpMessageConverter<java.lang.Object> httpMessageConverter,
org.springframework.http.MediaType mediaType,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
java.lang.String |
getShortName() |
void |
setName(java.lang.String name) |
void |
setNamespace(java.lang.String namespace) |
void |
setShortName(java.lang.String shortName) |
private java.lang.String name
private java.lang.String shortName
private java.lang.String namespace
public void execute(org.springframework.http.converter.HttpMessageConverter<java.lang.Object> httpMessageConverter, org.springframework.http.MediaType mediaType, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException, java.lang.Exception
execute
在接口中 HttpDirective
java.io.IOException
java.lang.Exception
public void setName(java.lang.String name)
name
- public java.lang.String getNamespace()
getNamespace
在接口中 Directive
public void setNamespace(java.lang.String namespace)
namespace
- the namespace to setpublic java.lang.String getShortName()
getShortName
在接口中 Directive
public void setShortName(java.lang.String shortName)
shortName
- the shortName to set