当前位置: 首页>>代码示例>>Java>>正文


Java EHttpMethod类代码示例

本文整理汇总了Java中com.helger.commons.http.EHttpMethod的典型用法代码示例。如果您正苦于以下问题:Java EHttpMethod类的具体用法?Java EHttpMethod怎么用?Java EHttpMethod使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


EHttpMethod类属于com.helger.commons.http包,在下文中一共展示了EHttpMethod类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: AS4Response

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public AS4Response (@Nonnull final EHttpVersion eHTTPVersion,
                    @Nonnull final EHttpMethod eHTTPMethod,
                    @Nonnull final HttpServletRequest aHttpRequest)
{
  super (eHTTPVersion, eHTTPMethod, aHttpRequest);
  // Never cache the responses on client side
  disableCaching ();
  setAllowContentOnStatusCode (true);
}
 
开发者ID:phax,项目名称:ph-as4,代码行数:10,代码来源:AS4Response.java

示例2: createUnifiedResponse

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
@Nonnull
@Override
public AS4Response createUnifiedResponse (@Nonnull final EHttpVersion eHTTPVersion,
                                          @Nonnull final EHttpMethod eHTTPMethod,
                                          @Nonnull final HttpServletRequest aHttpRequest,
                                          @Nonnull final IRequestWebScope aRequestScope)
{
  return new AS4Response (eHTTPVersion, eHTTPMethod, aHttpRequest);
}
 
开发者ID:phax,项目名称:ph-as4,代码行数:10,代码来源:AS4XServletHandler.java

示例3: PEPPOLAS2ApplicationServlet

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public PEPPOLAS2ApplicationServlet ()
{
  final AbstractApplicationXServletHandler aHandler = new AbstractApplicationXServletHandler ()
  {
    @Override
    protected IHTMLProvider createHTMLProvider (final IRequestWebScopeWithoutResponse aRequestScope)
    {
      return new PEPPOLAS2HtmlProvider ();
    }
  };

  handlerRegistry ().registerHandler (EHttpMethod.GET, aHandler);
}
 
开发者ID:phax,项目名称:as2-peppol-server,代码行数:14,代码来源:PEPPOLAS2ApplicationServlet.java

示例4: AS4Servlet

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public AS4Servlet ()
{
  // Multipart is handled specifically inside
  settings ().setMultipartEnabled (false);
  handlerRegistry ().registerHandler (EHttpMethod.POST, new AS4XServletHandler ());
}
 
开发者ID:phax,项目名称:ph-as4,代码行数:7,代码来源:AS4Servlet.java

示例5: PublicParticipantServlet

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public PublicParticipantServlet ()
{
  handlerRegistry ().registerHandler (EHttpMethod.GET, new PublicParticipantXServletHandler ());
}
 
开发者ID:phax,项目名称:peppol-directory,代码行数:5,代码来源:PublicParticipantServlet.java

示例6: AppRootServlet

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public AppRootServlet ()
{
  handlerRegistry ().registerHandler (EHttpMethod.GET,
                                      new RootXServletHandler (AbstractPublicApplicationServlet.SERVLET_DEFAULT_PATH));
  handlerRegistry ().copyHandlerToAll (EHttpMethod.GET);
}
 
开发者ID:phax,项目名称:peppol-directory,代码行数:7,代码来源:AppRootServlet.java

示例7: PublicSearchServlet

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public PublicSearchServlet ()
{
  handlerRegistry ().registerHandler (EHttpMethod.GET, new PublicSearchXServletHandler ());
}
 
开发者ID:phax,项目名称:peppol-directory,代码行数:5,代码来源:PublicSearchServlet.java

示例8: PEPPOLAS2RootServlet

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public PEPPOLAS2RootServlet ()
{
  handlerRegistry ().registerHandler (EHttpMethod.GET,
                                      new RootXServletHandler (AbstractSecureApplicationServlet.SERVLET_DEFAULT_PATH));
  handlerRegistry ().copyHandlerToAll (EHttpMethod.GET);
}
 
开发者ID:phax,项目名称:as2-peppol-server,代码行数:7,代码来源:PEPPOLAS2RootServlet.java

示例9: PEPPOLAS2ReceiveServlet

import com.helger.commons.http.EHttpMethod; //导入依赖的package包/类
public PEPPOLAS2ReceiveServlet ()
{
  handlerRegistry ().registerHandler (EHttpMethod.POST, new PEPPOLAS2ReceiveXServletHandler (), false);
}
 
开发者ID:phax,项目名称:as2-peppol-server,代码行数:5,代码来源:PEPPOLAS2ReceiveServlet.java


注:本文中的com.helger.commons.http.EHttpMethod类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。