Coverage Report - org.mule.transport.http.i18n.HttpMessages
 
Classes in this File Line Coverage Branch Coverage Complexity
HttpMessages
0%
0/20
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
 3  
  * The software in this package is published under the terms of the CPAL v1.0
 4  
  * license, a copy of which has been included with this distribution in the
 5  
  * LICENSE.txt file.
 6  
  */
 7  
 package org.mule.transport.http.i18n;
 8  
 
 9  
 import org.mule.config.i18n.Message;
 10  
 import org.mule.config.i18n.MessageFactory;
 11  
 
 12  
 import java.net.URI;
 13  
 
 14  0
 public class HttpMessages extends MessageFactory
 15  
 {
 16  0
     private static final HttpMessages factory = new HttpMessages();
 17  
     
 18  0
     private static final String BUNDLE_PATH = getBundlePath("http");
 19  
 
 20  
     public static Message requestFailedWithStatus(String string)
 21  
     {
 22  0
         return factory.createMessage(BUNDLE_PATH, 3, string);
 23  
     }
 24  
 
 25  
     public static Message unableToGetEndpointUri(String requestURI)
 26  
     {
 27  0
         return factory.createMessage(BUNDLE_PATH, 4, requestURI);
 28  
     }
 29  
 
 30  
     public static Message receiverPropertyNotSet()
 31  
     {
 32  0
         return factory.createMessage(BUNDLE_PATH, 7);
 33  
     }
 34  
 
 35  
     public static Message httpParameterNotSet(String string)
 36  
     {
 37  0
         return factory.createMessage(BUNDLE_PATH, 8, string);
 38  
     }
 39  
 
 40  
     public static Message malformedSyntax()
 41  
     {
 42  0
         return factory.createMessage(BUNDLE_PATH, 11);
 43  
     }
 44  
 
 45  
     public static Message methodNotAllowed(String method)
 46  
     {
 47  0
         return factory.createMessage(BUNDLE_PATH, 12, method);
 48  
     }
 49  
 
 50  
     public static Message failedToConnect(URI uri)
 51  
     {
 52  0
         return factory.createMessage(BUNDLE_PATH, 13, uri);
 53  
     }
 54  
 
 55  
     public static Message cannotBindToAddress(String path)
 56  
     {
 57  0
         return factory.createMessage(BUNDLE_PATH, 14, path);
 58  
     }
 59  
 
 60  
     public static Message eventPropertyNotSetCannotProcessRequest(String property)
 61  
     {
 62  0
         return factory.createMessage(BUNDLE_PATH, 15, property);
 63  
     }
 64  
 
 65  
     public static Message unsupportedMethod(String method)
 66  
     {
 67  0
         return factory.createMessage(BUNDLE_PATH, 16, method);
 68  
     }
 69  
 
 70  
     public static Message couldNotSendExpect100()
 71  
     {
 72  0
         return factory.createMessage(BUNDLE_PATH, 17);
 73  
     }
 74  
 
 75  
     public static Message requestLineIsMalformed(String line)
 76  
     {
 77  0
         return factory.createMessage(BUNDLE_PATH, 18, line);
 78  
     }
 79  
 
 80  
     public static Message pollingReciverCannotbeUsed()
 81  
     {
 82  0
         return factory.createMessage(BUNDLE_PATH, 19);
 83  
     }
 84  
     
 85  
     public static Message sslHandshakeDidNotComplete()
 86  
     {
 87  0
         return factory.createMessage(BUNDLE_PATH, 20);
 88  
     }
 89  
 
 90  
     public static Message customHeaderMapDeprecated()
 91  
     {
 92  0
         return factory.createMessage(BUNDLE_PATH, 21);
 93  
     }
 94  
 
 95  
     public static Message basicFilterCannotHandleHeader(String header)
 96  
     {
 97  0
         return factory.createMessage(BUNDLE_PATH, 22, header);
 98  
     }
 99  
 
 100  
     public static Message authRealmMustBeSetOnFilter()
 101  
     {
 102  0
         return factory.createMessage(BUNDLE_PATH, 23);
 103  
     }
 104  
 }
 105  
 
 106